Skip to content

Commit e7b81f2

Browse files
committed
HTTP context header (fix #1053)
1 parent 8ac0657 commit e7b81f2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

language/context/http.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@
4949
Thus it is not recommended to set a <literal>Host:</literal> header,
5050
if <parameter>follow_location</parameter> is enabled.
5151
</para>
52+
<para>
53+
String value should be <literal>Key: value</literal> pairs delimited by
54+
<literal>\r\n</literal>, e.g.
55+
<literal>"Content-Type: application/json\r\nConnection: close"</literal>.
56+
Array value should be a list of <literal>Key: value</literal> pairs, e.g.
57+
<literal>["Content-Type: application/json", "Connection: close"]</literal>.
58+
</para>
5259
</listitem>
5360
</varlistentry>
5461
<varlistentry xml:id="context.http.user-agent">

0 commit comments

Comments
 (0)