summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2020-11-16 14:14:36 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2020-11-16 14:14:36 (GMT)
commit7fa0505ae881f84ff691141af719e62e654a028e (patch)
treecefc0f6401d9c9c8522e2503ea39e24caae744fd
parent413ce795e023b9fc40a39e3a0516bacc566292d7 (diff)
downloadtcl-7fa0505ae881f84ff691141af719e62e654a028e.zip
tcl-7fa0505ae881f84ff691141af719e62e654a028e.tar.gz
tcl-7fa0505ae881f84ff691141af719e62e654a028e.tar.bz2
Ticket [4f511270af7]: http documentation: -query data may be any data
-rw-r--r--doc/http.n8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/http.n b/doc/http.n
index ae298b2..cbef2ab 100644
--- a/doc/http.n
+++ b/doc/http.n
@@ -319,9 +319,11 @@ otherwise complain about HTTP/1.1.
\fB\-query\fR \fIquery\fR
.
This flag causes \fB::http::geturl\fR to do a POST request that passes the
-\fIquery\fR to the server. The \fIquery\fR must be an x-url-encoding
-formatted query. The \fB::http::formatQuery\fR procedure can be used to
-do the formatting.
+\fIquery\fR as payload verbatim to the server.
+The content format (and encoding) of \fIquery\fR is announced by the header
+field \fBcontent-type\fR set by the option \fB-type\fR.
+\fIquery\fR is an x-url-encoding formatted query, if used for html forms.
+The \fB::http::formatQuery\fR procedure can be used to do the formatting.
.TP
\fB\-queryblocksize\fR \fIsize\fR
.