Skip to content
Tcl Source Code Artifact [8dc0563eaf]
Login

Artifact [8dc0563eaf]

Artifact 8dc0563eaf333a270d61c7d8670c0495cc57cb704427dc0e5ed6c440797f422b:

Ticket change [8dc0563eaf] - Pending ticket [fb642c54bc58b31d|fb642c54bc]: <i>Incorrect download of compressed encoded data</i> plus 5 other changes by sebres on 2018-03-26 16:40:47.
D 2018-03-26T16:40:47.352
J closer nobody
J icomment Reopened\sbecause\sof\s<a\shref="https://groups.google.com/d/msg/comp.lang.tcl/7mNIrCZH2Ks/dbOyZcYABQAJ">https://groups.google.com/d/msg/comp.lang.tcl/7mNIrCZH2Ks/dbOyZcYABQAJ</a>:\r\n<pre>\r\n>\s```diff\r\n>\s-\sset\sout\s[open\s$file\sw]\r\n>\s+\sset\sout\s[open\s$file\swb]\r\n>\s```\r\n\r\nconfirmed,\sdownload\susing:\s-headers\s{Accept-Encoding\sidentity}\sbrings\r\nwith\s"set\sout\s[open\s$file\swb]"\sthe\ssame\sresult\sas\swget.\r\n\r\nBut\swithout\sthe\sgeturl\sheader\s{Accept-Encoding\sidentity}\sthe\sdownload\r\nfile\ssize\sdiffers\sby\sca.\s70kB.\r\n....\r\n"HTTP\sfile\scopy\ssize\sis\s342957,\swget\sfilesize\sis\s416135"\r\n\r\n>\sPlease\sreopen\sif\sI'm\swrong.\r\n\r\nDon't\sknow\sif\sthis\scan\sbe\sseen\sas\sexpected\sbehavior.\r\nThe\sman\spage\salso\sexplains\sthe\soption\s-binary\sand\seven\ssetting\sthis\sto\r\ntrue\sand\susing\sfilemode\sbinary\sdoes\snot\sdownload\sthe\scomplete\sfile.\r\n\r\nFrom\smy\spoint\sof\sview\sit\sis\sreally\shard\sto\sfind\sout\swhy\sgeturl\sdoes\r\nbehave\sas\sit\sdoes.\r\nMaybe\simproving\sthe\sman\spages\scould\salso\sbring\smore\sclear\spicture\sor\r\nadding\sthe\sgzip\sencoding\sto\sthe\smanpage\sexample.\r\n\r\nBTW:\sNevertheless\smy\sproblem\sis\ssolved,\smany\sthanks\sto\sclt\s:-)\s\r\n</pre>\r\n\r\nLooks\slike\ssome\sresponse\sheaders\sseem\sto\sstill\snot\scorrectly\simpact,\sif\s"Accept-Encoding"\sis\snot\s"identity"\s(resp.\s"chunked"\sin\smy\scase).<br/>\r\nCurrently,\sI've\sno\stime\sto\sdig\sdeeper.
J login sebres
J mimetype text/x-fossil-wiki
J status Pending
J username [email protected]
K fb642c54bc58b31daafba9ae495ded4b0417d9bc
U sebres
Z b13dcc75a5dccf0e9f62ca0aa9858553