Timeline for How to properly handle a gzipped page when using curl?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 9, 2021 at 10:58 | answer | added | cweiske | timeline score: 3 | |
Jan 5, 2021 at 5:04 | comment | added | x-yuri |
The behavior has been supposedly changed. Try curl -sSv https://stackoverflow.com/ |& rg -i 'gzip|accept' alone, and with --compressed . Unless curl passes Accept-Encoding , the server doesn't gzip the response.
|
|
Sep 4, 2018 at 11:48 | comment | added | The Onin |
For me, the problem was that cURL wasn't able to decompress Brotli (curl 7.54.0 (x86_64-apple-darwin17.0) libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0 ) - solved it by removing br from Accept-Encoding . see stackoverflow.com/questions/18983719/…
|
|
Nov 27, 2013 at 14:56 | review | Suggested edits | |||
Nov 27, 2013 at 14:58 | |||||
Dec 7, 2011 at 16:30 | vote | accept | BryanH | ||
Dec 3, 2011 at 2:47 | answer | added | Martin | timeline score: 362 | |
Dec 3, 2011 at 1:05 | history | asked | BryanH | CC BY-SA 3.0 |