Package wsgiwebapi :: Module wsgisupport
[frames] | no frames]

Module wsgisupport

source code

Support utilities for building a WSGI application.
Classes
  Request
Request object, used to represent a request via WSGI.
  WSGIResponse
Object satisfying the WSGI protocol for making a response.
  Response
Response object, used to return stuff via WSGI protocol.
  HTTPError
  HTTPNotFound
Raise this exception if a requested resource is not found.
  HTTPMethodNotAllowed
Raise this exception if a method which is not allowed was used.
  HTTPServerError
Raise this exception if a server error occurs.
Functions
 
to_uni(text)
Convert text into unicode, if it's not already unicode.
source code
 
method_known(method)
Return True iff the method string is one of the known HTTP methods.
source code