summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorkjnash <k.j.nash@usa.net>2020-08-28 19:13:13 (GMT)
committerkjnash <k.j.nash@usa.net>2020-08-28 19:13:13 (GMT)
commit5bb0947953b3dad8d0910abbd6d6bd885eab8c92 (patch)
tree9876d5d044af0d3d3472c171ee1b3dce57228d7a /doc
parent953e3ea89962393c4b65866feb0f3d38f4bc8b14 (diff)
parent01b6b4918fefc3f454123f838f7c8f712aa361b9 (diff)
downloadtcl-5bb0947953b3dad8d0910abbd6d6bd885eab8c92.zip
tcl-5bb0947953b3dad8d0910abbd6d6bd885eab8c92.tar.gz
tcl-5bb0947953b3dad8d0910abbd6d6bd885eab8c92.tar.bz2
Merge 8.6
Diffstat (limited to 'doc')
-rw-r--r--doc/http.n4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/http.n b/doc/http.n
index e8c8c90..26bf943 100644
--- a/doc/http.n
+++ b/doc/http.n
@@ -250,6 +250,10 @@ proc httpHandlerCallback {socket token} {
return $nbytes
}
.CE
+.PP
+The \fBhttp::geturl\fR code for the \fB-handler\fR option is not compatible with either compression or chunked transfer-encoding. If \fB-handler\fR is specified, then to work around these issues \fBhttp::geturl\fR will reduce the HTTP protocol to 1.0, and override the \fB-zip\fR option (i.e. it will not send the header "\fBAccept-Encoding: gzip,deflate,compress\fR").
+.PP
+If options \fB-handler\fR and \fB-channel\fR are used together, the handler is responsible for copying the data from the HTTP socket to the specified channel. The name of the channel is available to the handler as element \fB-channel\fR of the token array.
.RE
.TP
\fB\-headers\fR \fIkeyvaluelist\fR