mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #25576 -- Added IOBase methods required by TextIOWrapper to HttpResponse.
This commit is contained in:
@@ -174,6 +174,11 @@ Requests and Responses
|
||||
|
||||
* Added ``request.user`` to the debug view.
|
||||
|
||||
* Added :class:`~django.http.HttpResponse` methods
|
||||
:meth:`~django.http.HttpResponse.readable()` and
|
||||
:meth:`~django.http.HttpResponse.seekable()` to make an instance a
|
||||
stream-like object and allow wrapping it with :py:class:`io.TextIOWrapper`.
|
||||
|
||||
Serialization
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user