summaryrefslogtreecommitdiff
path: root/django/test/client.py
AgeCommit message (Expand)Author
2026-04-07Fixed CVE-2026-3902 -- Ignored headers with underscores in ASGIRequest.Jacob Walls
2026-03-13Fixed #36966 -- Fixed ValueError when `query_params` and `follow` are used on...Marc Gibbons
2025-07-23Refs #36500 -- Shortened some long docstrings and comments.Mike Edmunds
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-01-03Fixed #35414 -- Used default headers in AsyncRequestFactory.YashRaj1506
2024-10-16Refs #35727 -- Updated response.content.decode calls to use the HttpResponse....SaJH
2024-05-29Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.Jake Howard
2024-05-03Refs #31224 -- Fixed typo in django/test/client.py.Natalia
2024-03-13Fixed #34901 -- Added async-compatible interface to session engines.Jon Janzen
2023-11-24Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable().Nick Pope
2023-11-23Fixed #14611 -- Added query_params argument to RequestFactory and Client clas...Tom Carrick
2023-10-31Fixed #32106 -- Preserved HTTP_HOST in test Client when following redirects.Ben Cail
2023-08-30Fixed #34757 -- Added support for following redirects to AsyncClient.Olivier Tabone
2023-08-24Corrected AsyncRequestFactory's docstring.Mariusz Felisiak
2023-08-23Refs #34757 -- Moved HTTP redirect logic to django.test.client.ClientMixin.Olivier Tabone
2023-06-27Fixed #34391 -- Added async-compatible interface to auth functions and relate...Jon Janzen
2023-03-07Fixed #32172 -- Adapted signals to allow async handlers.Jon Janzen
2023-02-17Fixed #34342, Refs #33735 -- Fixed test client handling of async streaming re...Alexandre Spaeth
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2023-01-13Fixed #34240 -- Preserved headers of requests made with django.test.Client in...Mariusz Felisiak
2023-01-05Refs #33865 -- Improved implementation of FakePayload.Nick Pope
2022-11-14Fixed #34074 -- Added headers argument to RequestFactory and Client classes.David Wobrock
2022-11-10Updated documentation and comments for RFC updates.Nick Pope
2022-11-08Fixed #34063 -- Fixed reading request body with async request factory and cli...Scott Halgrim
2022-06-09Fixed #33755 -- Moved ASGI body-file cleanup into request class.Jonas Lundberg
2022-03-08Rewrote some references to "master".Adam Johnson
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2022-01-07Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate.Ad Timmering
2021-10-18Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.David Smith
2021-09-24Fixed #33132 -- Fixed test client handling of querystring only redirects.Jaap Roes
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropr...David Smith
2021-07-15Fixed #32929 -- Fixed handling query strings in AsyncRequestFactory.pochangl
2021-06-23Fixed #32790 -- Ensured test Client handles redirects to domain indexes witho...tomhamiltonstubber
2021-02-23Fixed #32470 -- Fixed ResolverMatch instance on test clients when request.url...Marc Gibbons
2020-11-04Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers.Carlton Gibson
2020-11-03Fixed #32162 -- Fixed setting Content-Length header in AsyncRequestFactory.Patrick Arminio
2020-10-27Fixed #32128 -- Added asgiref 3.3 compatibility.Carlton Gibson
2020-08-14Added missing items to django.test.client.__all__ and django.test.utils.__all__.Mads Jensen
2020-07-30Bumped minimum isort version to 5.1.0.David Smith
2020-05-27Fixed #31494 -- Preserved query strings when following HTTP 307/308 redirects...Ahmad A. Hussein
2020-05-11Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne
2020-03-18Fixed #31224 -- Added support for asynchronous views and middleware.Andrew Godwin
2019-11-19Removed unnecessary numeric indexes in format strings.Jon Dufresne
2019-10-29Fixed #30899 -- Lazily compiled import time regular expressions.Hasan Ramezani
2019-10-18Fixed #28337 -- Preserved extra headers of requests made with django.test.Cli...Patrick Jenkins
2019-08-11Fixed #30677 -- Improved error message for urlencode() and Client when None i...swatantra
2019-06-17Fixed typos in FakePayload docstring and SimplifiedURLTests test name.Min ho Kim
2019-06-07Fixed #30550 -- Fixed decoding of non-UTF-8 bytes objects in response.json().Jon Dufresne
2019-03-11Minimized try block in Client.request().Jon Dufresne