summaryrefslogtreecommitdiff
path: root/docs/topics/testing/tools.txt
diff options
context:
space:
mode:
authorOlivier Tabone <olivier.tabone@ripplemotion.fr>2023-08-04 09:14:19 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-08-30 06:12:25 +0200
commit3f8dbe267d35f0219277f0fe2d79915a4fb2b045 (patch)
treeb818499facc91df69c936e746d93c6081c776e41 /docs/topics/testing/tools.txt
parent1ac397674b2f64d48e66502a20b9d9ca6bfb579a (diff)
Fixed #34757 -- Added support for following redirects to AsyncClient.
Diffstat (limited to 'docs/topics/testing/tools.txt')
-rw-r--r--docs/topics/testing/tools.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index 2378ff4ec1..a9373ff108 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -2032,7 +2032,6 @@ test client, with the following exceptions:
* In the initialization, arbitrary keyword arguments in ``defaults`` are added
directly into the ASGI scope.
-* The ``follow`` parameter is not supported.
* Headers passed as ``extra`` keyword arguments should not have the ``HTTP_``
prefix required by the synchronous client (see :meth:`Client.get`). For
example, here is how to set an HTTP ``Accept`` header:
@@ -2046,6 +2045,10 @@ test client, with the following exceptions:
The ``headers`` parameter was added.
+.. versionchanged:: 5.0
+
+ Support for the ``follow`` parameter was added to the ``AsyncClient``.
+
Using ``AsyncClient`` any method that makes a request must be awaited::
async def test_my_thing(self):