restish.http¶
- exception restish.http.BadRequestError¶
Bases: restish.error.HTTPClientError
- response_factory¶
- exception restish.http.ConflictError¶
Bases: restish.error.HTTPClientError
- response_factory¶
- exception restish.http.ForbiddenError¶
Bases: restish.error.HTTPClientError
- response_factory¶
- exception restish.http.MethodNotAllowedError¶
Bases: restish.error.HTTPClientError
- response_factory¶
- exception restish.http.NotAcceptableError¶
Bases: restish.error.HTTPClientError
- response_factory¶
- exception restish.http.NotFoundError¶
Bases: restish.error.HTTPClientError
- response_factory¶
- class restish.http.Request(environ)¶
Bases: object
- application_url¶
- blank¶
- Create a new Request, compatible with webob.Request.blank.
- host_url¶
- The host url
- path¶
- path_qs¶
- path_url¶
- url¶
- restish.http.bad_request(headers=None, body=None)¶
- restish.http.conflict(headers, body)¶
- restish.http.created(location, body, headers=None)¶
- restish.http.forbidden(headers=None, body=None)¶
- restish.http.found(location)¶
- restish.http.method_not_allowed(allow)¶
- restish.http.moved_permanently(location)¶
- restish.http.not_acceptable(headers, body)¶
- restish.http.not_found(headers=None, body=None)¶
- restish.http.not_modified()¶
- restish.http.ok(headers, body)¶
- restish.http.see_other(location)¶