summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-03-06 18:40:03 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-03-11 22:08:57 +0100
commit2572d07c1f0abd9e2bf3ed20dbe35c58f1dd6ac4 (patch)
treee7fd5bf27cec827dc8ba69767a2671bb5b420bf7 /doc/protocols.texi
parentfe568b3d27ca2c5cca3878b2a7a3a968e605aec4 (diff)
http: Allow setting a Content-Type for POST requests
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 597693af29..1501dab60c 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -95,6 +95,9 @@ This protocol accepts the following options:
@item chunked_post
If set to 1 use chunked Transfer-Encoding for posts, default is 1.
+@item content_type
+Set a specific content type for the POST messages.
+
@item headers
Set custom HTTP headers, can override built in default headers. The
value must be a string encoding the headers.