Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #27989

Re: Python list archives double-gzipped?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'case.': 0.05; 'corresponds': 0.09; 'bug': 0.10; 'cc:addr:python- list': 0.10; 'apache': 0.13; 'ignore': 0.13; '-tkc': 0.16; 'andreas': 0.16; 'archives.': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'headers,': 0.16; 'message-id:@tim.thechases.com': 0.16; 'nowadays': 0.16; 'people?': 0.16; 'received:70.251': 0.16; 'received:dsl.rcsntx.swbell.net': 0.16; 'received:rcsntx.swbell.net': 0.16; 'received:swbell.net': 0.16; 'tweak': 0.16; 'whomever': 0.16; 'wrote:': 0.17; 'tim': 0.18; 'load': 0.19; 'archiving': 0.22; 'browsers': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'second': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'looks': 0.26; '(which': 0.26; "doesn't": 0.28; 'correct': 0.28; 'subject:list': 0.28; '(since': 0.29; 'behaviour': 0.29; 'chase': 0.29; 'testing.': 0.29; 'file': 0.32; 'anybody': 0.32; 'info': 0.32; 'controls': 0.33; 'server': 0.35; 'problem,': 0.35; 'subject:?': 0.35; 'but': 0.36; 'possible': 0.37; 'python.org': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'skip:" 10': 0.40; 'subject:-': 0.40; 'most': 0.61; 'leading': 0.61; 'confirm': 0.64; 'taking': 0.65; 'received:50.22': 0.84
Date Mon, 27 Aug 2012 11:53:04 -0500
From Tim Chase <python.list@tim.thechases.com>
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16
MIME-Version 1.0
To Andreas Perstinger <andipersti@gmail.com>
Subject Re: Python list archives double-gzipped?
References <503AD027.7000004@tim.thechases.com> <503B7B8C.105@gmail.com>
In-Reply-To <503B7B8C.105@gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Source
X-Source-Args
X-Source-Dir
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3879.1346086313.4697.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346086313 news.xs4all.nl 6940 [2001:888:2000:d::a6]:58816
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:27989

Show key headers only | View raw


On 08/27/12 08:52, Andreas Perstinger wrote:
> On 27.08.2012 03:40, Tim Chase wrote:
>> So it looks like some python-list@ archiving process is double
>> gzip'ing the archives.  Can anybody else confirm this and get the
>> info the right people?
> 
> If you send the "Accept-Encoding: gzip, deflate"-header, the server will 
> gzip the file a second time (which is arguably unnecessary) and responds 
> with "Content-Encoding: gzip" and "Content-Type: application/x-gzip" 
> (which is IMHO correct according to RFC2616/14.11 and 14.17[3]).
> But because many servers apparently don't set correct headers, the 
> default behaviour of most browsers nowadays is to ignore the 
> content-encoding for gzip files (application/x-gzip - see bug report for 
> firefox[4] and chromium[5]) and don't uncompress the outer layer, 
> leading to a double gzipped file in this case.

That corresponds with what I see in various testing.  To whomever
controls the python.org web-server, is it possible to tweak Apache
so that it doesn't try to gzip *.gz files?  It may ameliorate the
problem, as well as reduce server load (since it's actually taking
the time to make the file larger)

-tkc

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python list archives double-gzipped? Tim Chase <python.list@tim.thechases.com> - 2012-08-27 11:53 -0500

csiph-web