Skip to content
Tcl Source Code Artifact [40d03eedd2]
Login

Artifact [40d03eedd2]

Artifact 40d03eedd2e0e595ffe79869bf8b0d7212655aa5:

Ticket change [40d03eedd2] - Closed ticket [b9d0434667d94e5f|b9d0434667]: <i>default settings request unreliable &quot;deflate&quot; compression</i> plus 7 other changes by dkf on 2015-05-14 08:13:57.
D 2015-05-14T08:13:57.827
J closedate 2457156.84303041
J closer dkf
J icomment Fixed;\swe\snow\sprefer\sthe\s<tt>gzip</tt>\stransfer\sencoding\sbecause\sit's\swidely\sknown\sthat\salternatives\sare\swrong\son\ssome\sservers.\sIt's\sreally\snot\sour\sfault,\sbut\swe\scan't\shelp\sthat.\sThe\sdefault\scan\sbe\soverridden\sby\ssetting\sthe\s<tt>Accept-Encoding</tt>\sheader\sexplicitly\s(using\sthe\snormal\sAPI\smechanism\sfor\sthat);\sthere\sare\sexamples\sof\swhat\sto\sdo\sin\sTcl's\stest\ssuite\s(<tt>http11.test</tt>).<p>I\slooked\sinto\sputting\sin\scode\sthat\swould\stry\sto\sguess\sfrom\sthe\sfirst\sfew\sbytes\sof\sthe\sstream.\sWe\swon't\sbe\strying\sto\sdo\sthat!\sIt\sgets\sreally\scomplicated\s(in\sterms\sof\sjust\swhat\sto\sread\sand\swhen)\sand\sjust\sswitching\sto\sgzip\sworks\sas\swell\s(and\sit's\svery\swidely\simplemented\stoo).\sI\sguess\swe\scould\shave\sdone\sit\swith\sa\s"do\swhat\sI\smean"\sdecompression\smethod,\sbut\sthat's\sreally\shorrible.<p>The\sfix\swill\sship\swith\sthe\snext\s8.6\spatch\srelease.\sThe\sworkaround\sis\sto\sspecify\s<tt>Accept-Encoding</tt>\sto\sbe\ssomething\slike\s<tt>identity</tt>,\swhich\sdisables\scompression\sand\sworks\son\s8.5\sand\s8.6.
J login dkf
J mimetype text/html
J resolution Fixed
J status Closed
J username dkf
K b9d0434667d94e5f9737b87ff024e7bc3baea5d5
U dkf
Z 2224b6bdc8b7281aa3bfaa9b79832eb7