Overview
| Artifact ID: | 5f4bfe11c82bd48de23f78ae8e8342f1e99c8d20 |
|---|---|
| Ticket: | 3165982fffffffffffffffffffffffffffffffff
http 2.7 dependency on zlib breaks in Tcl 8.5 |
| User & Date: | patthoyts on 2011-01-27 20:27:30 |
Changes
- icomment:
This feature is to enable support of compressed streams when you have a supported zip extension. There is one built into tcl 8.6 but in 8.5 people can load one in and one is included in tclkit. If - and only if - a suitable extension package was loaded the http package will include the Accept-Encoding header to indicate that it can support compressed streams. You have deliberately set this header to indicate you will accept gzip compressed data. In this case you are responsible for decoding it. If you plan on using a different incompatible package to decompress the data then you can replace the Gunzip function with your own once you load the http package. Beware that the http package uses lazy loading so you should actually call the http::geturl function to force loading the procedures before you replace them.
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"