Request and response objects | Django documentation | Django
docs.djangoproject.com › en › 4It has no content attribute. Instead, it has a streaming_content attribute. You cannot use the file-like object tell() or write() methods. Doing so will raise an exception. StreamingHttpResponse should only be used in situations where it is absolutely required that the whole content isn’t iterated before transferring the data to the client. Because the content can’t be accessed, many middleware can’t function normally.