Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e5d9bc

Browse files
Ferrorjaviereguiluz
authored andcommitted
Every custom header in testing client must have HTTP prefix
1 parent f57055d commit 8e5d9bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,10 @@ You can also override HTTP headers on a per request basis::
10291029
'HTTP_USER_AGENT' => 'MySuperBrowser/1.0',
10301030
]);
10311031

1032+
.. caution::
1033+
1034+
Every custom header must have `HTTP_` prefix.
1035+
10321036
.. tip::
10331037

10341038
The test client is available as a service in the container in the ``test``

0 commit comments

Comments
 (0)