| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-09-25 | Normalized spelling of "lowercase" and "lowercased". | Jon Dufresne | |
| 2018-09-25 | Refs #29784 -- Normalized Python docs links to omit the version. | Jon Dufresne | |
| 2018-05-15 | Fixed #16470 -- Allowed FileResponse to auto-set some Content headers. | Claude Paroz | |
| Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews. | |||
| 2018-04-13 | Fixed #27863 -- Added support for the SameSite cookie flag. | Alex Gaynor | |
| Thanks Alex Gaynor for contributing to the patch. | |||
| 2018-02-07 | Refs #27795 -- Replaced force_bytes() usage in django.http. | Tim Graham | |
| 2018-01-08 | Fixed #28989 -- Fixed HttpResponse.delete_cookie() for cookies that use ↵ | Alvin Lindstam | |
| __Secure/Host prefixes. | |||
| 2018-01-02 | Fixed #28965 -- Updated Set-Cookie's Expires date format to follow RFC 7231. | Alexey | |
| 2017-11-14 | Fixed #28795 -- Removed 'not in' checks and used dict.setdefault(). | Дилян Палаузов | |
| 2017-11-06 | Fixed #28776 -- Fixed a/an/and typos in docs and comments. | Дилян Палаузов | |
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | |
| 2017-05-27 | Fixed #28226 -- Replaced use of str.join() with concatenation. | Tom | |
| 2017-04-27 | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-20 | Refs #27656 -- Updated django.forms/http docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-20 | Refs #23919 -- Removed unneeded str() calls | Claude Paroz | |
| 2017-01-20 | Refs #23919 -- Removed unneeded force_str calls | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-12-27 | Fixed #27640 -- Fixed HttpResponse's __repr__() without a 'Content-Type' ↵ | roboslone | |
| header. | |||
| 2016-12-19 | Fixed #27606 -- Fixed HttpResponseRedirect.__repr__() crash when ↵ | Jerome Leclanche | |
| DisallowedRedirect is raised. | |||
| 2016-08-30 | Fixed #27153 -- Added validation for HttpResponse status. | Ryan Allen | |
| 2016-06-15 | Fixed broken links in docs and comments. | Ville Skyttä | |
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2015-12-14 | Fixed #25725 -- Made HttpReponse immediately close objects. | Johannes Hoppe | |
| 2015-11-18 | Fixed #25644 -- Fixed reset cookie expiry date bug. | Raphael Merx | |
| Setting a cookie with the same name as a previously deleted cookie would set its expiry date to 'Thu, 01-Jan-1970 00:00:00 GMT'. | |||
| 2015-10-21 | Fixed #25576 -- Added IOBase methods required by TextIOWrapper to HttpResponse. | Jon Dufresne | |
| 2015-08-31 | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | |
| 2015-08-12 | Fixed #25254 -- Added JsonResponse json_dumps_params parameter. | Sambhav Satija | |
| 2015-07-15 | Refs #24121 -- Added meaningful repr() to HttpResponse and subclasses. | Keryn Knight | |
| 2015-03-12 | Fixed #24139 -- Changed HttpResponse.reason_phrase to evaluate based on ↵ | Jon Dufresne | |
| status_code. | |||
| 2015-02-19 | Fixed #20889 -- Prevented BadHeaderError when Python inserts newline | Claude Paroz | |
| Workaround for http://bugs.python.org/issue20747. In some corner cases, Python 2 inserts a newline in a header value despite `maxlinelen` passed in Header constructor. Thanks Tim Graham for the review. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24240 -- Allowed GZipping a Unicode StreamingHttpResponse | Matthew Somerville | |
| make_bytes() assumed that if the Content-Encoding header is set, then everything had already been dealt with bytes-wise, but in a streaming situation this was not necessarily the case. make_bytes() is only called when necessary when working with a StreamingHttpResponse iterable, but by that point the middleware has added the Content-Encoding header and thus make_bytes() tried to call bytes(value) (and dies). If it had been a normal HttpResponse, make_bytes() would have been called when the content was set, well before the middleware set the Content-Encoding header. This commit removes the special casing when Content-Encoding is set, allowing unicode strings to be encoded during the iteration before they are e.g. gzipped. This behaviour was added a long time ago for #4969 and it doesn't appear to be necessary any more, as everything is correctly made into bytes at the appropriate places. Two new tests, to show that supplying non-ASCII characters to a StreamingHttpResponse works fine normally, and when passed through the GZip middleware (the latter dies without the change to make_bytes()). Removes the test with a nonsense Content-Encoding and Unicode input - if this were to happen, it can still be encoded as bytes fine. | |||
| 2015-01-28 | Fixed #24137 -- Switched to HTTP reason phrases from Python stdlib. | Jon Dufresne | |
| 2015-01-05 | Closed files in FileResponse; refs #24072 | Collin Anderson | |
| 2015-01-05 | Fixed #24072 -- Added FileResponse for streaming binary files. | Collin Anderson | |
| 2014-12-11 | Fixed #23977 -- Added setdefault() method to HttpResponse | Sergey Parkhomenko | |
| 2014-11-12 | Fixed #23730 -- Moved support for SimpleCookie HIGHEST_PROTOCOL pickling to ↵ | Tim Graham | |
| http.cookie. This fix is necessary for Python 3.5 compatibility (refs #23763). Thanks Berker Peksag for review. | |||
| 2014-11-03 | Fixed #18523 -- Added stream-like API to HttpResponse. | Michael Kelly | |
| Added getvalue() to HttpResponse to return the content of the response, along with a few other methods to partially match io.IOBase. Thanks Claude Paroz for the suggestion and Nick Sanford for review. | |||
| 2014-08-19 | Fixed #10190 -- Made HttpResponse charset customizable. | Unai Zalakain | |
| Thanks to Simon Charette, Aymeric Augustin, and Tim Graham for reviews and contributions. | |||
| 2014-08-03 | Fixed #19802 -- Fixed HttpResponse.set_cookie() with unicode data on Python 2. | qingfeng | |
| Thanks django at patrickbregman.eu for the report. | |||
| 2014-06-20 | Added HTTP 308 status and its description. | Yazhong Liu | |
| 2014-03-31 | Replaced urllib/urlparse imports with from django.utils.six.moves. | Tim Graham | |
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2014-02-14 | Fixed #17942 -- Added a JsonResponse class to more easily create JSON ↵ | Lukasz Balcerzak | |
| encoded responses. Thanks leahculver for the suggestion and Erik Romijn, Simon Charette, and Marc Tamlyn for the reviews. | |||
| 2014-01-16 | Fixed typo in docstring. | Martin Matusiak | |
| 2013-11-23 | Simplified iteration in HTTP response objects. | Aymeric Augustin | |
| Fixed #20187 -- Allowed repeated iteration of HttpResponse. All this became possible when support for old-style streaming responses was finally removed. | |||
