| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-06-03 | [5.2.x] Fixed #36411 -- Made HttpRequest.get_preferred_type() consider media ↵ | Jake Howard | |
| type parameters. HttpRequest.get_preferred_type() did not account for parameters in Accept header media types (e.g., "text/vcard; version=3.0"). This caused incorrect content negotiation when multiple types differed only by parameters, reducing specificity as per RFC 7231 section 5.3.2 (https://datatracker.ietf.org/doc/html/rfc7231.html#section-5.3.2). This fix updates get_preferred_type() to treat media types with parameters as distinct, allowing more precise and standards-compliant matching. Thanks to magicfelix for the report, and to David Sanders and Sarah Boyce for the reviews. Backport of c075508b4de8edf9db553b409f8a8ed2f26ecead from main. | |||
| 2024-12-02 | Fixed #35915 -- Clarified the empty list case in QueryDict.__getitem__() docs. | jburns6789 | |
| 2024-11-14 | Fixed #35784 -- Added support for preserving the HTTP request method in ↵ | Lorenzo Peña | |
| HttpResponseRedirectBase. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2024-10-16 | Fixed #35727 -- Added HttpResponse.text property. | SaJH | |
| Signed-off-by: SaJH <wogur981208@gmail.com> | |||
| 2024-09-09 | Fixed #35631 -- Added HttpRequest.get_preferred_type(). | Jake Howard | |
| 2024-05-22 | Removed versionadded/changed annotations for 5.0. | Natalia | |
| This also removes remaining versionadded/changed annotations for older versions. | |||
| 2024-03-06 | Fixed broken links and redirects in docs. | Mariusz Felisiak | |
| 2023-12-28 | Corrected code-block directives in docs. | Mariusz Felisiak | |
| 2023-10-25 | Added missing pycon directives in various docs. | Mariusz Felisiak | |
| 2023-09-18 | Removed versionadded/changed annotations for 4.2. | Mariusz Felisiak | |
| This also removes remaining versionadded/changed annotations for older versions. | |||
| 2023-09-14 | Doc'd HttpResponse.cookies. | Michele Mazzucchi | |
| 2023-09-11 | Fixed #34752 -- Fixed handling ASGI http.disconnect for streaming responses. | Sam Toyer | |
| 2023-05-12 | Fixed #34556 -- Doc'd that StreamingHttpResponse accepts memoryviews and ↵ | Alexerson | |
| strings iterators. | |||
| 2023-03-16 | Fixed #34404 -- Clarified how FileResponse set Content-Type header. | Ayush Bisht | |
| 2023-03-07 | Fixed #31920 -- Made AuthenticationMiddleware add request.auser(). | Jon Janzen | |
| 2023-03-01 | Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. | django-bot | |
| 2023-02-10 | Refs #34140 -- Applied rst code-block to non-Python examples. | Carlton Gibson | |
| Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews. | |||
| 2023-01-17 | Removed versionadded/changed annotations for 4.1. | Mariusz Felisiak | |
| 2022-12-22 | Fixed #33735 -- Added async support to StreamingHttpResponse. | Carlton Gibson | |
| Thanks to Florian Vazelle for initial exploratory work, and to Nick Pope and Mariusz Felisiak for review. | |||
| 2022-11-10 | Updated documentation and comments for RFC updates. | Nick Pope | |
| - Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents | |||
| 2022-05-17 | Fixed #33683 -- Document HttpResponseBase and allow import from django.http | Collin Anderson | |
| 2022-03-07 | Fixed #33562 -- Made HttpResponse.set_cookie() support timedelta for the ↵ | Luke Plant | |
| max_age argument. | |||
| 2021-09-20 | Removed versionadded/changed annotations for 3.2. | Mariusz Felisiak | |
| 2021-07-29 | Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵ | David Smith | |
| appropriate. | |||
| 2021-07-13 | Fixed #32899 -- Added note about avoiding non-dict objects in JsonResponse docs. | Hasan Ramezani | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-05-19 | Doc'd that HttpRequest.path doesn't contain a query string. | David D Lowe | |
| 2021-05-17 | Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS. | Nick Pope | |
| 2021-04-29 | Fixed capitalization of "ECMAScript" and "JavaScript". | Nick Pope | |
| 2021-03-26 | Fixed #32580 -- Doc'd that HttpRequest.get_host() may raise DisallowedHost. | sreehari1997 | |
| 2021-01-14 | Refs #30997 -- Removed HttpRequest.is_ajax() per deprecation timeline. | Mariusz Felisiak | |
| 2021-01-14 | Removed versionadded/changed annotations for 3.1. | Mariusz Felisiak | |
| 2020-10-08 | Fixed #29356 -- Clarified docs for QueryDict.getlist() default. | Paul Grau | |
| 2020-10-07 | Fixed #32002 -- Added headers parameter to HttpResponse and subclasses. | Tom Carrick | |
| 2020-10-01 | Fixed #32057 -- Doc'd HttpResponse.get()/items(). | MAHANTH-wq | |
| 2020-09-14 | Fixed #31789 -- Added a new headers interface to HttpResponse. | Tom Carrick | |
| 2020-09-05 | Fixed #31982 -- Made HttpResponse.set_cookie() cast max_age argument to an ↵ | Hasan Ramezani | |
| integer. | |||
| 2020-07-23 | Fixed #31816 -- Corrected the expected content type in StreamingHttpResponse ↵ | LincolnPuzey | |
| docs. | |||
| 2020-07-16 | Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in ↵ | Mariusz Felisiak | |
| HttpResponse.delete_cookie(). Cookies with the "SameSite" flag set to None and without the "secure" flag will be soon rejected by latest browser versions. This affects sessions and messages cookies. | |||
| 2020-07-08 | Fixed #31739 -- Documented dependency between HttpRequest stream IO methods ↵ | Tim Park | |
| and body. | |||
| 2020-06-15 | Fixed #31696 -- Updated OWASP links in docs. | Hasan Ramezani | |
| 2020-05-13 | Used :mimetype: role in various docs. | Nick Pope | |
| 2020-05-13 | Used :pep: role in various docs. | Nick Pope | |
| 2020-05-13 | Removed versionadded/changed annotations for 3.0. | Mariusz Felisiak | |
| 2020-04-28 | Fixed broken links in docs. | Mariusz Felisiak | |
| 2020-04-01 | Prevented (and corrected) single backtick usage in docs. | Adam Johnson | |
| 2020-02-11 | Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes ↵ | Florian Apolloner | |
| file-like object." This reverts commit cce47ff65a4dd3786c049ec14ee889e128ca7de9. | |||
| 2020-01-27 | Fixed #30997 -- Deprecated HttpRequest.is_ajax(). | Claude Paroz | |
| 2020-01-24 | Refs #30997 -- Added HttpRequest.accepts(). | Claude Paroz | |
| 2020-01-17 | Refs #30752 -- Doc'd error reporting related optional request attributes. | Carlton Gibson | |
| 2019-12-12 | Fixed #30862 -- Allowed setting SameSite cookies flags to 'none'. | Osaetin Daniel | |
| Thanks Florian Apolloner and Carlton Gibson for reviews. | |||
