浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

WebOb WSGI request and response objects

What is it?

WebOb is a Python library that provides wrappers around the WSGI request environment, and an object to help create WSGI responses. The objects map much of the specified behavior of HTTP, including header parsing, content negotiation and correct handling of conditional and range requests.

This helps you create rich applications and valid middleware without knowing all the complexities of WSGI and HTTP.

WebOb benefits

  • Maps most of HTTP spec to friendly data structures.
  • Time-proven codebase that works around and hides all known WSGI quirks.
  • Zero known issues (reported bugs are always fixed ASAP).
  • 100% test coverage.
  • No external dependencies.
  • Supports Python 3.
posted on 2013-01-03 20:35  lexus  阅读(335)  评论(0)    收藏  举报