| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-09-26 | Refs #29784 -- Switched to https:// links where available. | Jon Dufresne | |
| 2018-08-02 | Fixed #29627 -- Fixed QueryDict.urlencode() crash with non-string values. | Tim Graham | |
| Regression in 7d96f0c49ab750799860e42716d7105e11de44de. | |||
| 2018-08-01 | Fixed typos in comments and docs. | luz.paz | |
| 2018-04-13 | Fixed #27863 -- Added support for the SameSite cookie flag. | Alex Gaynor | |
| Thanks Alex Gaynor for contributing to the patch. | |||
| 2017-06-03 | Refs #27308, #27753 -- Removed obsolete cookie test mixing bytes with str. | Jon Dufresne | |
| Python 3's SimpleCookie treats all values as strings. Passing a bytes object coerces to the repr value. | |||
| 2017-05-27 | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | |
| iter(dict) is equivalent to iter(dict.keys()). | |||
| 2017-05-25 | Fixed #28224 -- Tested for SuspiciousOperation subclasses in Django's tests. | Rajesh Veeranki | |
| 2017-03-17 | Replaced type-specific assertions with assertEqual(). | Tim Graham | |
| Python docs say, "it's usually not necessary to invoke these methods directly." | |||
| 2017-02-09 | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | |
| 2017-01-26 | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | |
| 2017-01-20 | Refs #23919 -- Removed unneeded str() calls | Claude Paroz | |
| 2017-01-20 | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | |
| These functions do nothing on Python 3. | |||
| 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-11-14 | Fixed #27463 -- Fixed E741 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-06-06 | Fixed #26707 -- Added QueryDict.fromkeys() | wim glenn | |
| 2016-04-08 | Fixed E128 flake8 warnings in tests/. | Tim Graham | |
| 2016-03-15 | Fixed #26158 -- Rewrote http.parse_cookie() to better match browsers. | Collin Anderson | |
| 2016-03-14 | Replaced unnecessary smart_str() with force_str() in httpwrappers tests. | Tim Graham | |
| 2016-02-04 | Made multiline assertRaises* conform to flake8's E128 rule. | Hasan | |
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-12-14 | Fixed #25725 -- Made HttpReponse immediately close objects. | Johannes Hoppe | |
| 2015-12-12 | Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy(). | Iacopo Spalletti | |
| Thanks to bmispelon and uruz for the initial patch. | |||
| 2015-12-03 | Fixed many spelling mistakes in code, comments, and docs. | Josh Soref | |
| 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-06-24 | Fixed #25019 -- Added UUID support in DjangoJSONEncoder | Lukas Hetzenecker | |
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-05-16 | Removed redundant list() calls. | Tim Graham | |
| 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 | Fixed E265 comment style | Collin Anderson | |
| 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. | |||
| 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-11-03 | Fixed #23620 -- Used more specific assertions in the Django test suite. | Berker Peksag | |
| 2014-08-19 | Fixed #22996 -- Prevented crash with unencoded query string | Claude Paroz | |
| Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham for the reviews. | |||
| 2014-06-24 | Fixed #22897 -- Made QueryDict query_string argument optional. | Duncan Parkes | |
| Now QueryDict() is equivalent to QueryDict('') or QueryDict(None). | |||
| 2014-03-21 | Removed useless warning silencing. | Aymeric Augustin | |
| If memory serves, the corresponding warning disappeared in Django 1.7. | |||
| 2014-03-08 | Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings | Claude Paroz | |
| Thanks Anssi Kääriäinen for the idea and Simon Charette for the review. | |||
| 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. | |||
| 2013-12-17 | Removed superfluous models.py files. | Aymeric Augustin | |
| Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module. | |||
| 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. | |||
