class HttpRequest:
Known subclasses: django.core.handlers.asgi.ASGIRequest
, django.core.handlers.wsgi.WSGIRequest
Method | __iter__ |
Undocumented |
Method | accepts |
Undocumented |
Method | build_absolute_uri |
No summary |
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 | read |
Undocumented |
Method | readline |
Undocumented |
Method | readlines |
Undocumented |
Instance Variable | content_params |
Undocumented |
Instance Variable | content_type |
Undocumented |
Instance Variable | COOKIES |
Undocumented |
Instance Variable | FILES |
Undocumented |
Instance Variable | GET |
Undocumented |
Instance Variable | META |
Undocumented |
Instance Variable | method |
Undocumented |
Instance Variable | path |
Undocumented |
Instance Variable | path_info |
Undocumented |
Instance Variable | POST |
Undocumented |
Instance Variable | resolver_match |
Undocumented |
Method | __init__ |
Undocumented |
Method | __repr__ |
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 | _get_scheme |
Hook for subclasses like WSGIRequest to implement. Return 'http' by default. |
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. |
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 | parse_file_upload |
Return a tuple of (POST QueryDict, FILES MultiValueDict). |
Method | upload_handlers.setter |
Undocumented |
Instance Variable | _encoding |
Undocumented |
Instance Variable | _files |
Undocumented |
Instance Variable | _post |
Undocumented |
Instance Variable | _read_started |
Undocumented |
Instance Variable | _upload_handlers |
Undocumented |
Instance Variable | upload_handlers |
Undocumented |
Property | _current_scheme_host |
Undocumented |
Property | accepted_types |
Return a list of MediaType instances. |
Property | body |
Undocumented |
Property | encoding |
Undocumented |
Property | headers |
Undocumented |
Property | scheme |
Undocumented |
default
argument
is provided, in which case return that value.