class StreamingHttpResponse(HttpResponseBase):
Known subclasses: django.http.FileResponse
A streaming HTTP response class with an iterator as content.
This should only be iterated once, when the response is streamed to the client. However, it can be appended to or replaced with a new iterator that wraps the original content (or yields entirely new content).
Class Variable | streaming |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | _set_streaming_content |
Undocumented |
Method | getvalue |
Undocumented |
Method | streaming_content.setter |
Undocumented |
Instance Variable | _iterator |
Undocumented |
Property | content |
Undocumented |
Property | streaming_content |
Undocumented |
Inherited from HttpResponseBase
:
Method | __delitem__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | charset.setter |
Undocumented |
Method | close |
Undocumented |
Method | delete_cookie |
Undocumented |
Method | flush |
Undocumented |
Method | get |
Undocumented |
Method | has_header |
Case-insensitive check for a header. |
Method | items |
Undocumented |
Method | make_bytes |
Turn a value into a bytestring encoded in the output charset. |
Method | readable |
Undocumented |
Method | reason_phrase.setter |
Undocumented |
Method | seekable |
Undocumented |
Method | serialize_headers |
HTTP headers as a bytestring. |
Method | set_cookie |
Set a cookie. |
Method | set_signed_cookie |
Undocumented |
Method | setdefault |
Set a header unless it has already been set. |
Method | tell |
Undocumented |
Method | writable |
Undocumented |
Method | write |
Undocumented |
Method | writelines |
Undocumented |
Instance Variable | _charset |
Undocumented |
Instance Variable | _handler_class |
Undocumented |
Instance Variable | _reason_phrase |
Undocumented |
Instance Variable | _resource_closers |
Undocumented |
Instance Variable | closed |
Undocumented |
Instance Variable | cookies |
Undocumented |
Instance Variable | headers |
Undocumented |
Instance Variable | status_code |
Undocumented |
Property | _content_type_for_repr |
Undocumented |
Property | charset |
Undocumented |
Property | reason_phrase |
Undocumented |
django.http.FileResponse
Undocumented