http.HttpRequest.is_ajax()
  • References/Python/Django/API/Request and response objects

HttpRequest.is_ajax() [source] Returns True if the request was made via an

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.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.QueryDict.popitem()
  • References/Python/Django/API/Request and response objects

QueryDict.popitem() [source] Removes an arbitrary member of the dictionary (since there’s

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.readable()
  • References/Python/Django/API/Request and response objects

HttpResponse.readable() New in Django 1.10: Always False

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.closed
  • References/Python/Django/API/Request and response objects

HttpResponse.closed True if the response has been closed.

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