The default request implementation
Parses a variety of Accept-* headers.
These headers generally take the form of:
value1; q=0.5, value2; q=0
Where the q parameter is optional. In theory other parameters exists, but this ignores them.
Represents a generic Accept-* style header.
This object should not be modified. To add items you can use accept_obj + 'accept_thing' to get a new object
Represents the Accept header, which is a list of mimetypes.
This class knows about mime wildcards, like image/*
Represents the Range header.
Represents the Cache-Control header
Represents the Cache-Control header.
By giving a type of 'request' or 'response' you can control what attributes are allowed (some Cache-Control values only apply to requests or responses).
Does parsing of ETag-related headers: If-None-Matches, If-Matches
Also If-Range parsing
Represents a WSGI response
Represents the Content-Range header
This header is start-stop/length, where start-stop and length can be * (represented as None in the attributes).
Represents the Cache-Control header.
By giving a type of 'request' or 'response' you can control what attributes are allowed (some Cache-Control values only apply to requests or responses).
HTML-escape a string or object
This converts any non-string objects passed into it to strings (actually, using unicode()). All values returned are non-unicode strings (using &#num; entities for all non-ASCII characters).
None is treated specially, and returns the empty string.
Wraps an app_iter, returning just a range of bytes
Gives a multi-value dictionary object (MultiDict) plus several wrappers
An ordered dictionary that can have multiple values for each key. Adds the methods getall, getone, mixed and extend and add to the normal dictionary interface.
Wraps several MultiDict objects, treating it as one large MultiDict
Represents no variables; used when no variables are applicable.
This is read-only