http.HttpRequest.scheme
  • References/Python/Django/API/Request and response objects

HttpRequest.scheme A string representing the scheme of the request (http or https usually).

2025-01-10 15:47:30
http.HttpRequest.path
  • References/Python/Django/API/Request and response objects

HttpRequest.path A string representing the full path to the requested page, not including the scheme or domain.

2025-01-10 15:47:30
http.HttpResponse
  • References/Python/Django/API/Request and response objects

class HttpResponse [source] In contrast to HttpRequest objects, which are created

2025-01-10 15:47:30
http.StreamingHttpResponse.reason_phrase
  • References/Python/Django/API/Request and response objects

StreamingHttpResponse.reason_phrase The HTTP reason phrase for the response.

2025-01-10 15:47:30
http.HttpResponseBadRequest
  • References/Python/Django/API/Request and response objects

class HttpResponseBadRequest [source] Acts just like HttpResponse but uses a

2025-01-10 15:47:30
http.HttpRequest.COOKIES
  • References/Python/Django/API/Request and response objects

HttpRequest.COOKIES A standard Python dictionary containing all cookies. Keys and values are strings.

2025-01-10 15:47:30
http.HttpRequest.GET
  • References/Python/Django/API/Request and response objects

HttpRequest.GET A dictionary-like object containing all given HTTP GET parameters. See the QueryDict documentation

2025-01-10 15:47:30
http.HttpResponse.flush()
  • References/Python/Django/API/Request and response objects

HttpResponse.flush() This method makes an HttpResponse instance a file-like object.

2025-01-10 15:47:30
http.HttpResponse.tell()
  • References/Python/Django/API/Request and response objects

HttpResponse.tell() [source] This method makes an HttpResponse instance a file-like

2025-01-10 15:47:30
http.HttpRequest.get_host()
  • References/Python/Django/API/Request and response objects

HttpRequest.get_host() [source] Returns the originating host of the request using information

2025-01-10 15:47:30