Code Monkey home page Code Monkey logo

Comments (6)

cortesi avatar cortesi commented on May 9, 2024

Hi Paul,

I'm not able to reproduce this (see transcript below). I definitely think there's some issue here, though, because you're not the first one to mention a problem with the download file. I think there's some problem with browser handling of my server's gzip encoding (probably my error). Could you please let me know what browser and version you used to download the file?

Aldo

aldo@sencha: ~/gztest

wget http://mitmproxy.org/download/mitmproxy-0.8.tar.gz
--2012-07-04 09:46:31-- http://mitmproxy.org/download/mitmproxy-0.8.tar.gz
Resolving mitmproxy.org... 209.216.230.73
Connecting to mitmproxy.org|209.216.230.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2766903 (2.6M) [application/gzip]
Saving to: `mitmproxy-0.8.tar.gz'

100%[=========================================================================>] 2,766,903 544K/s in 6.1s

2012-07-04 09:46:38 (440 KB/s) - `mitmproxy-0.8.tar.gz' saved [2766903/2766903]

aldo@sencha: ~/gztest

tar -xf ./mitmproxy-0.8.tar.gz
aldo@sencha: ~/gztest
ls
mitmproxy-0.8/ mitmproxy-0.8.tar.gz
aldo@sencha: ~/gztest

from mitmproxy.

hackedd avatar hackedd commented on May 9, 2024

Google Chrome (which reports Version 20.0.1132.47) and Firefox (13.0.1) give me the double encoded file.
curl (7.22.0) and wget (1.13.4) give me the correct file.

$ file mitmproxy-0.8.tar.gz* | sort -k2
mitmproxy-0.8.tar.gz.chrome:  gzip compressed data, from Unix
mitmproxy-0.8.tar.gz.firefox: gzip compressed data, from Unix
mitmproxy-0.8.tar.gz:         gzip compressed data, was "dist/mitmproxy-0.8.tar", last modified: Mon Apr  9 06:44:19 2012, max compression
mitmproxy-0.8.tar.gz.curl:    gzip compressed data, was "dist/mitmproxy-0.8.tar", last modified: Mon Apr  9 06:44:19 2012, max compression
mitmproxy-0.8.tar.gz.wget:    gzip compressed data, was "dist/mitmproxy-0.8.tar", last modified: Mon Apr  9 06:44:19 2012, max compression

from mitmproxy.

mhils avatar mhils commented on May 9, 2024

http://mitmproxy.org/download/mitmproxy-0.8.tar.gz
is missing a Content-Disposition header. This might explain this problem.

from mitmproxy.

mhils avatar mhils commented on May 9, 2024

The download is currently not just gzipped twice but completely broken in Chrome 20.0.1132.57. (damaged archive)

from mitmproxy.

cortesi avatar cortesi commented on May 9, 2024

Thanks for looking at this. I'll be updating the server that serves the mitmproxy site in a day or two - I'll fix this issue then.

from mitmproxy.

mhils avatar mhils commented on May 9, 2024

Great, thanks!

from mitmproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.