summaryrefslogtreecommitdiffstats
path: root/doc/http.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-29 22:03:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-29 22:03:41 (GMT)
commit6ecf15e4f182a6be8c106737c7ee792beeab649a (patch)
tree0d66894a0f881a6bef9214f0a259d8e2daeb889c /doc/http.n
parent18dfd2c4666607dc76ff1b647f114b5f7947312f (diff)
parent213447740b2103263aec6b22da904e038cb915e9 (diff)
downloadtcl-6ecf15e4f182a6be8c106737c7ee792beeab649a.zip
tcl-6ecf15e4f182a6be8c106737c7ee792beeab649a.tar.gz
tcl-6ecf15e4f182a6be8c106737c7ee792beeab649a.tar.bz2
Merge 8.6
Diffstat (limited to 'doc/http.n')
-rw-r--r--doc/http.n4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/http.n b/doc/http.n
index 7552a5f..03cc811 100644
--- a/doc/http.n
+++ b/doc/http.n
@@ -259,6 +259,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