class documentation

class WSGIRequest(HttpRequest): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Constant POST Undocumented
Instance Variable environ Undocumented
Instance Variable META Undocumented
Instance Variable method Undocumented
Instance Variable path Undocumented
Instance Variable path_info Undocumented
Instance Variable resolver_match Undocumented
Property COOKIES Undocumented
Property FILES Undocumented
Property GET Undocumented
Method _get_post Undocumented
Method _get_scheme Hook for subclasses like WSGIRequest to implement. Return 'http' by default.
Method _set_post Undocumented
Instance Variable _post Undocumented
Instance Variable _read_started Undocumented
Instance Variable _stream Undocumented

Inherited from HttpRequest:

Method __iter__ Undocumented
Method __repr__ Undocumented
Method accepts Undocumented
Method build_absolute_uri Build an absolute URI from the location and the variables available in this request. If no ``location`` is specified, build the absolute URI using request.get_full_path(). If the location is absolute, convert it to an RFC 3987 compliant URI and return it...
Method close Undocumented
Method encoding.setter Set the encoding used for GET/POST accesses. If the GET or POST dictionary has already been created, remove and recreate it on the next access (so that it is decoded correctly).
Method get_full_path Undocumented
Method get_full_path_info Undocumented
Method get_host Return the HTTP host using the environment or request headers.
Method get_port Return the port number for the request as a string.
Method get_signed_cookie Attempt to return a signed cookie. If the signature fails or the cookie has expired, raise an exception, unless the `default` argument is provided, in which case return that value.
Method is_secure Undocumented
Method parse_file_upload Return a tuple of (POST QueryDict, FILES MultiValueDict).
Method read Undocumented
Method readline Undocumented
Method readlines Undocumented
Method upload_handlers.setter Undocumented
Instance Variable content_params Undocumented
Instance Variable content_type Undocumented
Instance Variable upload_handlers Undocumented
Property accepted_types Return a list of MediaType instances.
Property body Undocumented
Property encoding Undocumented
Property headers Undocumented
Property scheme Undocumented
Method _get_full_path Undocumented
Method _get_raw_host Return the HTTP host using the environment or request headers. Skip allowed hosts protection, so may return an insecure host.
Method _initialize_handlers Undocumented
Method _load_post_and_files Populate self._post and self._files if the content-type is a form type
Method _mark_post_parse_error Undocumented
Method _set_content_type_params Set content_type, content_params, and encoding.
Instance Variable _encoding Undocumented
Instance Variable _files Undocumented
Instance Variable _upload_handlers Undocumented
Property _current_scheme_host Undocumented
def __init__(self, environ): (source)

Undocumented

Undocumented

path_info = (source)

Undocumented

resolver_match = (source)
def _get_post(self): (source)

Undocumented

def _get_scheme(self): (source)

Hook for subclasses like WSGIRequest to implement. Return 'http' by default.

def _set_post(self, post): (source)

Undocumented

_read_started: bool = (source)

Undocumented

Undocumented