http.HttpResponse.setdefault()

HttpResponse.setdefault(header, value) Sets a header unless it has already been set.

http.HttpResponse.seekable()

HttpResponse.seekable() New in Django 1.10: Always False. This method makes an HttpResponse instance a stream-like object.

http.HttpResponse.reason_phrase

HttpResponse.reason_phrase The HTTP reason phrase for the response. Changed in Django 1.9: reason_phrase no longer defaults to all capital letters. It now uses the HTTP standard’s default reason phrases. Unless explicitly set, reason_phrase is determined by the current value of status_code.

http.HttpResponse.readable()

HttpResponse.readable() New in Django 1.10: Always False. This method makes an HttpResponse instance a stream-like object.

http.HttpResponse.has_header()

HttpResponse.has_header(header) Returns True or False based on a case-insensitive check for a header with the given name.

http.HttpResponse.getvalue()

HttpResponse.getvalue() [source] Returns the value of HttpResponse.content. This method makes an HttpResponse instance a stream-like object.

http.HttpResponse.flush()

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

http.HttpResponse.delete_cookie()

HttpResponse.delete_cookie(key, path='/', domain=None) Deletes the cookie with the given key. Fails silently if the key doesn’t exist. Due to the way cookies work, path and domain should be the same values you used in set_cookie() – otherwise the cookie may not be deleted.

http.HttpResponse.content

HttpResponse.content A bytestring representing the content, encoded from a Unicode object if necessary.

http.HttpResponse.closed

HttpResponse.closed True if the response has been closed.