| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-06-15 | [1.10.x] Fixed broken links in docs and comments. | Ville Skyttä | |
| Backport of 96f97691ad5e1483263cea3bb4e4021b4c8dcc41 from master | |||
| 2016-05-12 | Fixed #21231 -- Enforced a max size for GET/POST values read into memory. | Andre Cruz | |
| Thanks Tom Christie for review. | |||
| 2016-05-06 | Removed HTTP prefixed CONTENT_TYPE/LENGTH headers in MultiPartParser. | Tim Graham | |
| The docs say that these headers always appear without the HTTP_ prefix. This may have been an oversight when they were added in d725cc9734272f867d41f7236235c28b3931a1b2, the only commit that uses these names. | |||
| 2016-05-03 | Refs #22897 -- Removed unneeded empty string QueryDict argument. | Tim Graham | |
| 2016-04-25 | Fixed #26052 -- Moved conditional_content_removal() processing to the test ↵ | Tim Graham | |
| client. | |||
| 2016-04-08 | Fixed E128 flake8 warnings in django/. | Tim Graham | |
| 2016-03-15 | Fixed #26158 -- Rewrote http.parse_cookie() to better match browsers. | Collin Anderson | |
| 2016-03-14 | Simplified _cookie_allows_colon_in_names condition. | Tim Graham | |
| 2016-03-14 | Removed a workaround for a cookie encoding bug [1] in Python < 2.7.2. | Tim Graham | |
| [1] http://bugs.python.org/issue9824 | |||
| 2016-03-07 | Fixed #26325 -- Made MultiPartParser ignore filenames that normalize to an ↵ | John-Mark Bell | |
| empty string. | |||
| 2016-02-10 | Fixed #26014 -- Added WSGIRequest content_type and content_params attributes. | Curtis Maloney | |
| Parsed the CONTENT_TYPE header once and recorded it on the request. | |||
| 2016-01-25 | Fixed #26125 -- Fixed E731 flake warnings. | userimack | |
| 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-09-16 | Fixed #24496 -- Added CSRF Referer checking against CSRF_COOKIE_DOMAIN. | Matt Robenolt | |
| Thanks Seth Gottlieb for help with the documentation and Carl Meyer and Joshua Kehn for reviews. | |||
| 2015-09-04 | Fixed #25099 -- Fixed crash in AdminEmailHandler on DisallowedHost. | Vlastimil Zíma | |
| 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-08-04 | Fixed #25211 -- Added HttpRequest.get_port() and USE_X_FORWARDED_PORT setting. | Matt Robenolt | |
| 2015-07-15 | Refs #24121 -- Added meaningful repr() to HttpResponse and subclasses. | Keryn Knight | |
| 2015-07-13 | Fixed #25099 -- Cleaned up HttpRequest representations in error reporting. | Vlastimil Zíma | |
| 2015-06-27 | Sorted imports in __init__.py files. | Tim Graham | |
| 2015-06-17 | Refs #23763 -- Fixed Python 3.5 PendingDeprecationWarning in LazyStream. | Tim Graham | |
| Fixed "PendingDeprecationWarning: generator 'LazyStream.read.<locals>.parts' raised StopIteration" per PEP 0479. | |||
| 2015-05-13 | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | |
| 2015-03-26 | Fixed #19910 -- Added slash to i18n redirect if APPEND_SLASH is set. | Bas Peschier | |
| This introduces a force_append_slash argument for request.get_full_path() which is used by RedirectFallbackMiddleware and CommonMiddleware when handling redirects for settings.APPEND_SLASH. | |||
| 2015-03-18 | Fixed #23960 -- Removed http.fix_location_header | Claude Paroz | |
| Thanks Carl Meyer for the report and Tim Graham for the review. | |||
| 2015-03-12 | Fixed #24139 -- Changed HttpResponse.reason_phrase to evaluate based on ↵ | Jon Dufresne | |
| status_code. | |||
| 2015-03-11 | Fixed #24463 -- Removed mod_python functionality from HttpRequest._get_scheme() | Rik | |
| 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-27 | Fixed #24209 -- Prevented crash when parsing malformed RFC 2231 headers | Raul Cumplido | |
| Thanks Tom Christie for the report and review. | |||
| 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-12-08 | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | |
| comprehension | |||
| 2014-11-24 | Removed unused variable django.http.request.absolute_http_url_re | Matt Robenolt | |
| 2014-11-20 | Fixed #12098 -- Simplified HttpRequest.__repr__(). | Berker Peksag | |
| 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 #18456 -- Added path escaping to HttpRequest.get_full_path(). | Unai Zalakain | |
| 2014-09-13 | Fixed #23397 -- Stripped whitespace from base64 during chunking | Jason Hobbs | |
| This insures the actual base64 content has a length a multiple of 4. Also added a test case for the failure. | |||
| 2014-09-05 | Limited lines to 119 characters in django/ | Tim Graham | |
| refs #23395. | |||
| 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-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-08-15 | Fixed #23295 -- Removed unnecessary fix_location_header request.get_host() ↵ | Collin Anderson | |
| check. | |||
| 2014-08-14 | Fixed #22971 -- Properly parsed RFC 2388 encoded headers | Claude Paroz | |
| Thanks homm for the report, Cea Stapleton for patch improvements and Ian Cordasco, Christian Schmitt and Tim Graham for the review. | |||
| 2014-08-03 | Fixed #19802 -- Fixed HttpResponse.set_cookie() with unicode data on Python 2. | qingfeng | |
| Thanks django at patrickbregman.eu for the report. | |||
