Ticket UUID: | 3163579 | |||
Title: | Add a -compress config option for ::http::config | |||
Type: | RFE | Version: | None | |
Submitter: | karll | Created on: | 2011-01-21 19:48:52 | |
Subsystem: | None | Assigned To: | patthoyts | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2013-07-04 17:28:16 | |
Resolution: | Not Applicable Here | Closed By: | ||
Closed on: | ||||
Description: |
Right now the http packages requests compressed results if the website offers it and the zlib package has been loaded (or Tcl 8.6 is being used). We are tracking a problem where some compressed data is getting corrupted. We want to use the http package to fetch both compressed and uncompressed versions of the page. Currently with the http package it's all or nothing. I can work around the problem by specifying a -channel or -handler option, based on reading the source, but an explicit way to control the behavior would be preferable. | |||
User Comments: |
karll added on 2011-01-25 00:17:59:
I've uploaded a file that contains a patch to provide the -compress switch for the tcl 8.5 version. karll added on 2011-01-25 00:17:22: File Added - 399664: http-compress-switch-patch.txt andreas_kupries added on 2011-01-22 02:54:40: This belongs to the Tcl core, pretty much. that is which provides 'http'. Still, assigned to Pat, as he is the guy handling 'http'. |
Attachments:
- http-compress-switch-patch.txt [download] added by karll on 2011-01-25 00:17:22. [details]