http.HttpResponse.readable()

HttpResponse.readable() 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.seekable()

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

http.HttpResponse.setdefault()

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

http.HttpResponse.set_cookie()

HttpResponse.set_cookie(key, value='', max_age=None, expires=None, path='/', domain=None, secure=None, httponly=False) Sets a cookie. The parameters are the same as in the Morsel cookie object in the Python standard library. max_age should be a number of seconds, or None (default) if the cookie should last only as long as the client’s browser session. If expires is not specified, it will be calculated. expires should either be a string in the format "Wdy, DD-Mon-YY HH:MM:SS GMT" or a date

http.HttpResponse.set_signed_cookie()

HttpResponse.set_signed_cookie(key, value, salt='', max_age=None, expires=None, path='/', domain=None, secure=None, httponly=True) Like set_cookie(), but cryptographic signing the cookie before setting it. Use in conjunction with HttpRequest.get_signed_cookie(). You can use the optional salt argument for added key strength, but you will need to remember to pass it to the corresponding HttpRequest.get_signed_cookie() call.

http.HttpResponse.status_code

HttpResponse.status_code The HTTP status code for the response. Changed in Django 1.9: Unless reason_phrase is explicitly set, modifying the value of status_code outside the constructor will also modify the value of reason_phrase.

http.HttpResponse.streaming

HttpResponse.streaming This is always False. This attribute exists so middleware can treat streaming responses differently from regular responses.

http.HttpResponse.tell()

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

http.HttpResponse.writable()

HttpResponse.writable() [source] Always True. This method makes an HttpResponse instance a stream-like object.