summaryrefslogtreecommitdiff
path: root/tests/responses
AgeCommit message (Expand)Author
2025-02-18Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc.Mariusz Felisiak
2023-06-10Added tests for HttpResponseBase.charset/reason_phrase setters.XDEv11
2023-03-14Fixed #34405 -- Fixed setting Content-Type header in FileResponse for compres...Mariusz Felisiak
2023-02-07Removed hardcoded date in SetCookieTests.test_far_expiration().Bernhard M. Wiedemann
2022-08-03Fixed CVE-2022-36359 -- Escaped filename in Content-Disposition header.Carlton Gibson
2022-03-24Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson
2022-03-09Fixed #33567 -- Avoided setting default text/html content type on responses.Claude Paroz
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-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-10-14Refs #30509 -- Adjusted FileResponse test to close file earlier.Piotr Kunicki
2021-10-14Fixed #30509 -- Made FileResponse better handle buffers and non-zero file off...Piotr Kunicki
2021-10-14Refs #30509 -- Increased FileResponse test coverage.Piotr Kunicki
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
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-04Changed `'%s' % value` pattern to `str(value)`.Nick Pope
2020-04-20Capitalized Unicode in docs, strings, and comments.Jon Dufresne
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-29Used more specific unittest assertions in tests.Nick Pope
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-02-14Made a requests test that will fail in 2028 fail 10 years later.Bernhard M. Wiedemann
2019-01-28Fixed #30137 -- Replaced OSError aliases with the canonical OSError.Jon Dufresne
2018-09-01Refs #16470 -- Fixed typo in a FileResponse test.James Aylett
2018-05-15Fixed #16470 -- Allowed FileResponse to auto-set some Content headers.Claude Paroz
2018-04-13Fixed #27863 -- Added support for the SameSite cookie flag.Alex Gaynor
2018-01-08Fixed #28989 -- Fixed HttpResponse.delete_cookie() for cookies that use __Sec...Alvin Lindstam
2018-01-08Moved HttpResponse.set_cookie() tests to an appropriate location.Tim Graham
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-27Fixed #27640 -- Fixed HttpResponse's __repr__() without a 'Content-Type' hea...roboslone
2016-08-30Fixed #27153 -- Added validation for HttpResponse status.Ryan Allen
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-12-14Fixed #25725 -- Made HttpReponse immediately close objects.Johannes Hoppe
2015-10-21Fixed #25576 -- Added IOBase methods required by TextIOWrapper to HttpResponse.Jon Dufresne
2015-07-15Refs #24121 -- Added meaningful repr() to HttpResponse and subclasses.Keryn Knight
2015-03-12Fixed #24139 -- Changed HttpResponse.reason_phrase to evaluate based on statu...Jon Dufresne
2015-01-28Fixed #24137 -- Switched to HTTP reason phrases from Python stdlib.Jon Dufresne
2014-12-11Fixed #23977 -- Added setdefault() method to HttpResponseSergey Parkhomenko
2014-11-03Fixed #18523 -- Added stream-like API to HttpResponse.Michael Kelly
2014-08-19Fixed #10190 -- Made HttpResponse charset customizable.Unai Zalakain
2013-12-17Removed superfluous models.py files.Aymeric Augustin
2013-11-02Fixing E302 ErrorsJason Myers
2013-05-19Fixed #12747 -- Made reason phrases customizable.Aymeric Augustin