mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28137 -- Deprecated HttpRequest.xreadlines().
This commit is contained in:
committed by
Tim Graham
parent
278a09ac1f
commit
a1b2c1d76e
@@ -21,6 +21,8 @@ details on these changes.
|
||||
|
||||
* The ``DEFAULT_CONTENT_TYPE`` setting will be removed.
|
||||
|
||||
* ``HttpRequest.xreadlines()`` will be removed.
|
||||
|
||||
.. _deprecation-removed-in-2.1:
|
||||
|
||||
2.1
|
||||
|
||||
@@ -362,7 +362,6 @@ Methods
|
||||
.. method:: HttpRequest.read(size=None)
|
||||
.. method:: HttpRequest.readline()
|
||||
.. method:: HttpRequest.readlines()
|
||||
.. method:: HttpRequest.xreadlines()
|
||||
.. method:: HttpRequest.__iter__()
|
||||
|
||||
Methods implementing a file-like interface for reading from an
|
||||
|
||||
@@ -334,6 +334,9 @@ Miscellaneous
|
||||
well with third-party apps and is obsolete since HTML5 has mostly superseded
|
||||
XHTML.
|
||||
|
||||
* ``HttpRequest.xreadlines()`` is deprecated in favor of iterating over the
|
||||
request.
|
||||
|
||||
.. _removed-features-2.0:
|
||||
|
||||
Features removed in 2.0
|
||||
|
||||
Reference in New Issue
Block a user