Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #34484, Refs #34482 -- Reverted "Fixed #29186 -- Fixed pickling ↵ | Mariusz Felisiak | 2023-04-12 | 1 | -17/+0 |
| | | | | | | | | HttpRequest and subclasses." This reverts commit 6220c445c40a6a7f4d442de8bde2628346153963. Thanks Adam Johnson and Márton Salomváry for reports. | ||||
* | Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files. | Markus Holtermann | 2023-02-14 | 1 | -2/+6 |
| | | | | Thanks to Jakob Ackermann for the report. | ||||
* | Refs #34233 -- Used str.removeprefix()/removesuffix(). | Mariusz Felisiak | 2023-01-18 | 1 | -5/+3 |
| | |||||
* | Fixed #34074 -- Added headers argument to RequestFactory and Client classes. | David Wobrock | 2022-11-14 | 1 | -0/+25 |
| | |||||
* | Fixed #29186 -- Fixed pickling HttpRequest and subclasses. | Anvesh Mishra | 2022-09-14 | 1 | -0/+17 |
| | |||||
* | Refs #33697 -- Made MediaType use django.utils.http.parse_header_parameters(). | Mehrdad | 2022-06-28 | 1 | -7/+3 |
| | |||||
* | Fixed #33755 -- Moved ASGI body-file cleanup into request class. | Jonas Lundberg | 2022-06-09 | 1 | -0/+2 |
| | |||||
* | Refs #33173 -- Removed use of deprecated cgi module. | Carlton Gibson | 2022-05-11 | 1 | -3/+2 |
| | | | | https://peps.python.org/pep-0594/#cgi | ||||
* | Fixed #33569 -- Added SECURE_PROXY_SSL_HEADER support for list of protocols ↵ | Thomas Schmidt | 2022-03-23 | 1 | -1/+2 |
| | | | | in the header value. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -3/+8 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -100/+146 |
| | |||||
* | Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate. | Ad Timmering | 2022-01-07 | 1 | -1/+1 |
| | |||||
* | Fixed #32698 -- Moved HttpRequest.get_raw_uri() to ↵ | Hasan Ramezani | 2021-04-30 | 1 | -11/+0 |
| | | | | ExceptionReporter._get_raw_insecure_uri(). | ||||
* | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | 2021-02-10 | 1 | -9/+0 |
| | |||||
* | Refs #30997 -- Removed HttpRequest.is_ajax() per deprecation timeline. | Mariusz Felisiak | 2021-01-14 | 1 | -11/+0 |
| | |||||
* | Refs #21231 -- Corrected parse_qsl() fallback. | Tim Graham | 2020-09-07 | 1 | -1/+1 |
| | | | An oversight in fd209f62f1d83233cc634443cfac5ee4328d98b8. | ||||
* | Refs #21231 -- Backport urllib.parse.parse_qsl() from Python 3.8. | Nick Pope | 2020-09-03 | 1 | -6/+25 |
| | |||||
* | Refs #30997 -- Improved HttpRequest.is_ajax() warning message with stacklevel=2. | Mariusz Felisiak | 2020-06-03 | 1 | -0/+1 |
| | |||||
* | Fixed E128, E741 flake8 warnings. | Mariusz Felisiak | 2020-05-12 | 1 | -1/+1 |
| | |||||
* | Fixed #30997 -- Deprecated HttpRequest.is_ajax(). | Claude Paroz | 2020-01-27 | 1 | -0/+7 |
| | |||||
* | Refs #30997 -- Added HttpRequest.accepts(). | Claude Paroz | 2020-01-24 | 1 | -0/+51 |
| | |||||
* | Fixed #31114 -- Fixed HttpRequest.build_absolute_uri() crash with ↵ | Jon Dufresne | 2019-12-27 | 1 | -0/+3 |
| | | | | reverse_lazy() locations. | ||||
* | Fixed #31010 -- Allowed subdomains of localhost in the Host header by ↵ | Gordon Pendleton | 2019-12-05 | 1 | -1/+1 |
| | | | | default when DEBUG=True. | ||||
* | Fixed #30899 -- Lazily compiled import time regular expressions. | Hasan Ramezani | 2019-10-29 | 1 | -2/+2 |
| | |||||
* | Fixed CVE-2019-12781 -- Made HttpRequest always trust ↵ | Carlton Gibson | 2019-07-01 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | SECURE_PROXY_SSL_HEADER if set. An HTTP request would not be redirected to HTTPS when the SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings were used if the proxy connected to Django via HTTPS. HttpRequest.scheme will now always trust the SECURE_PROXY_SSL_HEADER if set, rather than falling back to the request scheme when the SECURE_PROXY_SSL_HEADER did not have the secure value. Thanks to Gavin Wahl for the report and initial patch suggestion, and Shai Berger for review. | ||||
* | Refs #30451 -- Added HttpRequest._set_content_type_params() hook. | Mariusz Felisiak | 2019-06-15 | 1 | -0/+13 |
| | |||||
* | Fixed #30310 -- Added support for looking up HttpHeaders.headers using ↵ | Troon | 2019-05-09 | 1 | -0/+4 |
| | | | | underscores. | ||||
* | Refs #27753 -- Favored force/smart_str() over force/smart_text(). | Aymeric Augustin | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | Fixed #30137 -- Replaced OSError aliases with the canonical OSError. | Jon Dufresne | 2019-01-28 | 1 | -4/+4 |
| | | | | Used more specific errors (e.g. FileExistsError) as appropriate. | ||||
* | Refs #28137 -- Removed HttpRequest.xreadlines() per deprecation timeline. | Tim Graham | 2019-01-17 | 1 | -9/+0 |
| | |||||
* | Fixed #20147 -- Added HttpRequest.headers. | Santiago Basulto | 2019-01-16 | 1 | -1/+29 |
| | |||||
* | Normalized spelling of "lowercase" and "lowercased". | Jon Dufresne | 2018-09-25 | 1 | -2/+2 |
| | |||||
* | Fixed #29627 -- Fixed QueryDict.urlencode() crash with non-string values. | Tim Graham | 2018-08-02 | 1 | -1/+1 |
| | | | Regression in 7d96f0c49ab750799860e42716d7105e11de44de. | ||||
* | Fixed django/http/request.py docstring typo. | François Freitag | 2018-07-16 | 1 | -1/+1 |
| | |||||
* | Simplified HttpRequest.__iter__(). | Sergey Fedoseev | 2018-07-10 | 1 | -5/+1 |
| | |||||
* | Removed unused HttpRequest._post_parse_error attribute. | Josh Schneier | 2018-06-07 | 1 | -5/+0 |
| | | | Unused since 8f8c54f70bfa3aa8e311514297f1eeded2c32593. | ||||
* | Refs #27795 -- Replaced force_bytes() usage in django.http. | Tim Graham | 2018-02-07 | 1 | -5/+6 |
| | |||||
* | Fixed #28828 -- Improved performance of HttpRequest.build_absolute_uri(). | George-Cristian Bîrzan | 2018-01-10 | 1 | -7/+21 |
| | |||||
* | Fixed #28982 -- Simplified code with and/or. | Дилян Палаузов | 2018-01-03 | 1 | -5/+3 |
| | |||||
* | Fixed #28930 -- Simplified code with any() and all(). | Дилян Палаузов | 2017-12-26 | 1 | -5/+1 |
| | |||||
* | Fixed #28720 -- Added HttpRequest.get_full_path_info(). | Jonas Haag | 2017-11-07 | 1 | -2/+8 |
| | |||||
* | Removed unneeded iter() calls. | Sergey Fedoseev | 2017-08-23 | 1 | -1/+1 |
| | | | A few of these were unnecessarily added in 2b281cc35ed9d997614ca3c416928d7fabfef1ad. | ||||
* | Fixed #28137 -- Deprecated HttpRequest.xreadlines(). | Josh Schneier | 2017-04-26 | 1 | -2/+9 |
| | |||||
* | Refs #27656 -- Updated django.forms/http docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-20 | 1 | -24/+22 |
| | |||||
* | Refs #23919, #27778 -- Removed obsolete mentions of unicode. | Vytis Banaitis | 2017-01-26 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -10/+10 |
| | |||||
* | Refs #23919 -- Replaced six.reraise by raise | Claude Paroz | 2017-01-22 | 1 | -5/+3 |
| | |||||
* | Refs #23919 -- Removed unneeded str() calls | Claude Paroz | 2017-01-20 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed unneeded force_str calls | Claude Paroz | 2017-01-20 | 1 | -7/+3 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -1/+1 |
| |