Skip to content
Tcl Source Code Artifact [687784f4ef]
Login

Artifact [687784f4ef]

Artifact 687784f4ef7e1565d9808294b0a98b0b3a3a8558:

Ticket change [687784f4ef] - New ticket [0aea0e0dcfee769a|0aea0e0dcf] <i>http::geturl -headers syntax and compressed content</i>. by anonymous on 2016-03-29 09:31:58.
D 2016-03-29T09:31:58.417
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Most\sservers\stoday\ssupport\sContent\sEncoding,\sand\susually\ssend\scompressed\scontent\s(gzip,\szlib,\sthe\sRFC\sis\sa\sbit\sweird\sin\sits\sclarification)\r\n\r\nUsing\sthe\shttp\spackage,\sthe\slatest\sI've\sused\sis\s2.8.5,\sthe\scontent\sreturned\sis\sgarbled\ssince\sthe\sserver\sis\ssending\scompressed\scontent,\seither\sof\sa\sbug,\sor\sthe\spackage\sdoes\snot\show\sto\sdeal\swith\scompressed\scontent??\r\n\r\nAs\sa\spossible\sworkaround,\srequesting\suncompressed\scontent\swith\sthe\sAccept-Encoding\sidentity\sflag\sfails,\scontent\sstill\sbeing\sgarbled\r\n\r\ntcl\shttp::geturl\sdocumentation,\sand\sRFC\s7231\sstate\sthat\sthe\s-headers\ssyntax\sinclude\sa\scolon\s":"\r\ne.g.\s"Pragma:\sno-cache",\sor\sin\smy\scase\s"Accept-Encoding:\sidentity"\sso,\s\r\n\r\nhttp::geturl\s$url\s-binary\s1\s-headers\s"Accept-Encoding:\sidentity"\sfails\r\n\r\nwhile\sremoval\sof\sthe\scolon\r\nhttp::geturl\s$url\s-binary\s1\s-headers\s"Accept-Encoding\sidentity"\sworks...
J foundin 2.8.5
J is_private 0
J login anonymous
J priority 5\sMedium
J resolution None
J severity Important
J status Open
J submitter anonymous
J subsystem 29.\shttp\sPackage
J title http::geturl\s-headers\ssyntax\sand\scompressed\scontent
J type Bug
K 0aea0e0dcfee769a5d4bd8a390d6ac0d58525aa7
U anonymous
Z 8359832d8f559fb847f974ce36bce94b