diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-29 22:03:41 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-29 22:03:41 (GMT) |
commit | 6ecf15e4f182a6be8c106737c7ee792beeab649a (patch) | |
tree | 0d66894a0f881a6bef9214f0a259d8e2daeb889c /doc/http.n | |
parent | 18dfd2c4666607dc76ff1b647f114b5f7947312f (diff) | |
parent | 213447740b2103263aec6b22da904e038cb915e9 (diff) | |
download | tcl-6ecf15e4f182a6be8c106737c7ee792beeab649a.zip tcl-6ecf15e4f182a6be8c106737c7ee792beeab649a.tar.gz tcl-6ecf15e4f182a6be8c106737c7ee792beeab649a.tar.bz2 |
Merge 8.6
Diffstat (limited to 'doc/http.n')
-rw-r--r-- | doc/http.n | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |