Overview
| Artifact ID: | 40d03eedd2e0e595ffe79869bf8b0d7212655aa5 |
|---|---|
| Ticket: | b9d0434667d94e5f9737b87ff024e7bc3baea5d5
default settings request unreliable "deflate" compression |
| User & Date: | dkf on 2015-05-14 08:13:57 |
Changes
- closedate changed to: "2457156.84303041"
- closer changed to: "dkf"
- icomment:
Fixed; we now prefer the <tt>gzip</tt> transfer encoding because it's widely known that alternatives are wrong on some servers. It's really not our fault, but we can't help that. The default can be overridden by setting the <tt>Accept-Encoding</tt> header explicitly (using the normal API mechanism for that); there are examples of what to do in Tcl's test suite (<tt>http11.test</tt>).<p>I looked into putting in code that would try to guess from the first few bytes of the stream. We won't be trying to do that! It gets really complicated (in terms of just what to read and when) and just switching to gzip works as well (and it's very widely implemented too). I guess we could have done it with a "do what I mean" decompression method, but that's really horrible.<p>The fix will ship with the next 8.6 patch release. The workaround is to specify <tt>Accept-Encoding</tt> to be something like <tt>identity</tt>, which disables compression and works on 8.5 and 8.6.
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"