1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

Fixed #24137 -- Switched to HTTP reason phrases from Python stdlib.

This commit is contained in:
Jon Dufresne
2015-01-13 11:29:07 -08:00
committed by Tim Graham
parent 0f3ea8c0bc
commit 24b2bc635e
5 changed files with 26 additions and 72 deletions

View File

@@ -171,6 +171,13 @@ Miscellaneous
* CSS and images in ``contrib.admin`` to support Internet Explorer 6 & 7 have
been removed as these browsers have reached end-of-life.
* ``django.http.responses.REASON_PHRASES`` and
``django.core.handlers.wsgi.STATUS_CODE_TEXT`` have been removed. Use
Python's stdlib instead: :data:`http.client.responses` for Python 3 and
`httplib.responses`_ for Python 2.
.. _`httplib.responses`: https://docs.python.org/2/library/httplib.html#httplib.responses
.. _deprecated-features-1.9:
Features deprecated in 1.9