summaryrefslogtreecommitdiff
path: root/django/http/response.py
AgeCommit message (Expand)Author
2025-11-26Fixed #36743 -- Increased URL max length enforced in HttpResponseRedirectBase.varunkasyap
2025-11-05Fixed CVE-2025-64458 -- Mitigated potential DoS in HttpResponseRedirect/HttpR...Jacob Walls
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-02-18Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc.Mariusz Felisiak
2024-11-14Fixed #35784 -- Added support for preserving the HTTP request method in HttpR...Lorenzo Peña
2024-10-16Fixed #35727 -- Added HttpResponse.text property.SaJH
2024-08-28Refs #33735 -- Adjusted warning stacklevel in StreamingHttpResponse.__iter__(...Simon Charette
2024-05-29Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.Jake Howard
2023-04-12Refs #34482 -- Reverted "Fixed #32969 -- Fixed pickling HttpResponse and subc...Mariusz Felisiak
2023-04-12Fixed #34484, Refs #34482 -- Reverted "Fixed #29186 -- Fixed pickling HttpReq...Mariusz Felisiak
2023-03-14Fixed #34405 -- Fixed setting Content-Type header in FileResponse for compres...Mariusz Felisiak
2023-01-18Refs #34233 -- Used aiter() and anext().Nick Pope
2022-12-22Fixed #33735 -- Added async support to StreamingHttpResponse.Carlton Gibson
2022-12-05Fixed #34194 -- Added django.utils.http.content_disposition_header().Alex Vandiver
2022-10-31Used more augmented assignment statements.Nick Pope
2022-09-14Fixed #29186 -- Fixed pickling HttpRequest and subclasses.Anvesh Mishra
2022-08-03Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header.Carlton Gibson
2022-06-20Fixed #32969 -- Fixed pickling HttpResponse and subclasses.Anv3sh
2022-03-24Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson
2022-03-07Refs #33562 -- Made HttpResponse.set_cookie() raise ValueError when both "exp...Luke Plant
2022-03-07Fixed #33562 -- Made HttpResponse.set_cookie() support timedelta for the max_...Luke Plant
2022-03-02Refs #33546 -- Optimized handling content types in HttpResponseBase.__init__().Keryn Knight
2022-03-02Refs #33546 -- Optimized HttpResponseBase.charset a bit.Keryn Knight
2022-03-02Refs #33546 -- Optimized ResponseHeaders._convert_to_charset() by reducing th...Keryn Knight
2022-03-02Refs #33546 -- Avoided unpacking data in ResponseHeaders when not necessary.Keryn Knight
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-10-15Refs #30509 -- Adjusted internal FileResponse variable name.Carlton Gibson
2021-10-14Fixed #30509 -- Made FileResponse better handle buffers and non-zero file off...Piotr Kunicki
2021-09-22Optimized handling case-insensitive mappings.Illia Volochii
2021-08-02Simplified serializing HTTP response headers.Illia Volochii
2021-06-22Refs #24121 -- Added __repr__() to StreamingHttpResponse and subclasses.Nicolas Restrepo
2021-05-12Fixed #32366 -- Updated datetime module usage to recommended approach.Nick Pope
2021-04-29Fixed capitalization of "ECMAScript" and "JavaScript".Nick Pope
2021-01-28Fixed #32389 -- Fixed ResponseHeaders crash when data is not mapping.Illia Volochii
2020-12-08Fixed grammar in HttpResponse docstring.ᴙɘɘᴙgYmɘᴙɘj
2020-11-10Refs #32074 -- Fixed handling memoryview content by HttpResponse on Python 3....Mariusz Felisiak
2020-10-07Fixed #32002 -- Added headers parameter to HttpResponse and subclasses.Tom Carrick
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-09-05Fixed #31982 -- Made HttpResponse.set_cookie() cast max_age argument to an in...Hasan Ramezani
2020-07-16Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in HttpRespon...Mariusz Felisiak
2020-05-11Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne
2020-02-11Fixed #31240 -- Properly closed FileResponse when wsgi.file_wrapper is used.Florian Apolloner
2020-02-11Reverted "Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes f...Florian Apolloner
2019-12-12Fixed #30862 -- Allowed setting SameSite cookies flags to 'none'.Osaetin Daniel
2019-10-29Fixed #30899 -- Lazily compiled import time regular expressions.Hasan Ramezani
2019-06-20Fixed #30565 -- Closed HttpResponse when wsgi.file_wrapper closes file-like o...Chris Jerdonek
2019-05-17Fixed #30196 -- Made FileResponse set Content-Disposition inline if filename ...ShingenPizza
2019-03-29Fixed #30294 -- Allowed HttpResponse to accept memoryview content.sage
2019-01-28Fixed #30137 -- Replaced OSError aliases with the canonical OSError.Jon Dufresne
2019-01-17Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline.Tim Graham