On 07/31/2015 03:09 PM, Brad King wrote:
I think some browsers or other download tools may automatically
gunzip files during download.

I seem to get that with Chromium too.

The HTTP response for cmake-3.3.0.tar.gz does contain:
        Content-Encoding: x-gzip

Which I think does tell clients that they should decompress to get the actual content which is declared to be of Content-Type:"application/x-gzip"; this is I think incorrect unless the HTTP server compresses the .tar.gz once more with gzip before delivery.

For cmake-3.3.0.zip of "Content-Type: application/zip" there is no "Content-Encoding" field in the HTTP response.

Maybe other clients have workarounds for these kinds of errors?

Nils
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to