From 8e5d9bcaaee6bf5bb55b927331f470a66352f04e Mon Sep 17 00:00:00 2001 From: ferror Date: Mon, 5 Apr 2021 16:46:16 +0200 Subject: [PATCH] Every custom header in testing client must have HTTP prefix --- testing.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing.rst b/testing.rst index 130ed0ab2ae..d6fa9774a1b 100644 --- a/testing.rst +++ b/testing.rst @@ -1029,6 +1029,10 @@ You can also override HTTP headers on a per request basis:: 'HTTP_USER_AGENT' => 'MySuperBrowser/1.0', ]); +.. caution:: + + Every custom header must have `HTTP_` prefix. + .. tip:: The test client is available as a service in the container in the ``test``