| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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. | |||
| 2014-07-05 | Added a space before explanation of "Invalid HTTP_HOST header: ..." | Daniel Hahler | |
| 2014-06-24 | Fixed #22799 -- Made GET and POST on HttpRequest QueryDicts, and FILES a ↵ | Duncan Parkes | |
| MultiValueDict. Previously, GET, POST, and FILES on an HttpRequest were created in the __init__ method as dictionaries. This was not something you would usually notice causing trouble in production as you'd only see a WSGIRequest, but in testing using the test client, calling .getlist on GET, POST, or FILES for a request with no get/post data resulted in an AttributeError. Changed GET and POST on an HttpRequest object to be mutable QueryDicts (mutable because the Django tests, and probably many third party tests, were expecting it). | |||
| 2014-06-24 | Fixed #22897 -- Made QueryDict query_string argument optional. | Duncan Parkes | |
| Now QueryDict() is equivalent to QueryDict('') or QueryDict(None). | |||
| 2014-06-24 | Improved documentation for QueryDict. | Duncan Parkes | |
| 2014-06-20 | Added HTTP 308 status and its description. | Yazhong Liu | |
| 2014-06-11 | Fixed #22680 -- I/O operation on closed file. | Florian Apolloner | |
| This patch is two-fold; first it ensure that Django does close everything in request.FILES at the end of the request and secondly the storage system should no longer close any files during save, it's up to the caller to handle that -- or let Django close the files at the end of the request. | |||
| 2014-06-07 | Fixed #18314 -- Corrected request.build_absolute_uri() handling of paths ↵ | Unai Zalakain | |
| starting with // ``HttpRequest.build_absolute_uri()`` now correctly handles paths starting with ``//``. ``WSGIRequest`` now doesn't remove all the leading slashes either, because ``http://test/server`` and http://test//server`` aren't the same thing (RFC2396). Thanks to SmileyChris for the initial patch. | |||
| 2014-05-16 | Fixed typo in multipartparser.py | mbacho | |
| 2014-05-14 | Dropped fix_IE_for_vary/attach. | Aymeric Augustin | |
| This is a security fix. Disclosure following shortly. | |||
| 2014-04-26 | Fix many many typos in comments throughout the codebase | Alex Gaynor | |
| 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-12-14 | Fixed E127 pep8 warnings. | Loic Bistuer | |
| 2013-11-28 | Fixed E125 pep8 warnings | Christopher Medrela | |
| 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. | |||
| 2013-11-16 | Fixed #21447 -- Restored code erroneously removed in ↵ | Baptiste Mispelon | |
| 20472aa827669d2b83b74e521504e88e18d086a1. Also added some tests for HttpRequest.__repr__. Note that the added tests don't actually catch the accidental code removal (see ticket) but they do cover a codepath that wasn't tested before. Thanks to Tom Christie for the report and the original patch. | |||
| 2013-11-15 | Fixed the use of the -ise suffix, where -ize is prefered | Alex Gaynor | |
| 2013-11-03 | Fixed all E226 violations | Alex Gaynor | |
| 2013-11-03 | Fixed flake8 E251 violations | Milton Mazzarri | |
| 2013-11-02 | Fixed the remaining E302 violations int eh django package | Alex Gaynor | |
| 2013-11-02 | Fixed all E261 warnings | coagulant | |
| 2013-11-02 | More attacking E302 violators | Alex Gaynor | |
| 2013-11-02 | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | |
| 2013-10-26 | Fixed up some more flake8 violations (this particular violation still has ↵ | Alex Gaynor | |
| many occurrences in the tests/ dir so it can't be removed from setup.cfg yet) | |||
| 2013-10-24 | Fixed #20338 -- Stripped ending dot during host validation | Claude Paroz | |
| Thanks manfre for the report and Timo Graham for the review. | |||
| 2013-10-21 | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | |
| 2013-10-18 | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | |
| 2013-10-17 | Fixed #21282 -- Made HttpResponse.serialize_headers accept latin-1 | Claude Paroz | |
| Thanks Raphaël Barrois for the report and the initial patch and Aymeric Augustin for the review. | |||
| 2013-10-15 | Fixed #7603 -- Added a 'scheme' property to the HttpRequest object | Unai Zalakain | |
| `HttpRequest.scheme` is `https` if `settings.SECURE_PROXY_SSL_HEADER` is appropriately set and falls back to `HttpRequest._get_scheme()` (a hook for subclasses to implement) otherwise. `WSGIRequest._get_scheme()` makes use of the `wsgi.url_scheme` WSGI environ variable to determine the request scheme. `HttpRequest.is_secure()` simply checks if `HttpRequest.scheme` is `https`. This provides a way to check the current scheme in templates, for example. It also allows us to deal with other schemes. Thanks nslater for the suggestion. | |||
| 2013-10-08 | Fixed #16822 -- Added RawPostDataException | Tim Graham | |
| Thanks jaylett for the patch. | |||
| 2013-10-05 | Fixed #21189: Cleaned up usage of bare except clauses. | Baptiste Mispelon | |
| Thanks to berkerpeksag for the report and to claudep for the review. | |||
| 2013-09-10 | Fixed #18403 -- Initialized bad_cookies in SimpleCookie | e0ne | |
| Thanks Stefano Crosta for the report. | |||
