Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8e5d9bc

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

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎testing.rst

Copy file name to clipboardExpand all lines: testing.rst
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.