mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #24137 -- Switched to HTTP reason phrases from Python stdlib.
This commit is contained in:
@@ -629,6 +629,13 @@ Attributes
|
||||
|
||||
The HTTP reason phrase for the response.
|
||||
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
``reason_phrase`` no longer defaults to all capital letters. It now
|
||||
uses the `HTTP standard's`_ default reason phrases.
|
||||
|
||||
.. _`HTTP standard's`: https://www.ietf.org/rfc/rfc2616.txt
|
||||
|
||||
.. attribute:: HttpResponse.streaming
|
||||
|
||||
This is always ``False``.
|
||||
@@ -980,6 +987,13 @@ Attributes
|
||||
|
||||
The HTTP reason phrase for the response.
|
||||
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
``reason_phrase`` no longer defaults to all capital letters. It now
|
||||
uses the `HTTP standard's`_ default reason phrases.
|
||||
|
||||
.. _`HTTP standard's`: https://www.ietf.org/rfc/rfc2616.txt
|
||||
|
||||
.. attribute:: StreamingHttpResponse.streaming
|
||||
|
||||
This is always ``True``.
|
||||
|
||||
Reference in New Issue
Block a user