use zipserve
from google.appengine.ext import zipserve
2009/8/13 edvakf taka.atsu...@googlemail.com
I found the part of the code where gzip file was magically unzipped.
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
Hi edvakf,
On Wed, Aug 12, 2009 at 11:19 PM, edvakftaka.atsu...@googlemail.com wrote:
I found the part of the code where gzip file was magically unzipped.
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
Thank you, Nick.
the content-encoding header should be omitted
That's how I ended up doing in the end.
I have another question. If the .gz file was fetched with Content-
Encoding: gzip, is the URL Fetch Quota counted by the gzipped
filesize, or expanded (original) filesize?
edvakf
On Thu, Aug 13, 2009 at 10:58 AM, edvakftaka.atsu...@googlemail.com wrote:
Thank you, Nick.
the content-encoding header should be omitted
That's how I ended up doing in the end.
I have another question. If the .gz file was fetched with Content-
Encoding: gzip, is the URL Fetch Quota
Hi Nick,
I ran a little test, and it seems to me that the URL Fetch Quota is
counting the expanded text size.
I put a file on my server http://atsushi-takayama.com/siteinfo/
foo.gz, which is a text file of exactly 1MB gzipped down to 180KB,
which is served with the header;
Content-Length:
Hi edvakf,
Please do file this as a bug, including the test and evidence you gathered
below.
-Nick Johnson
On Thu, Aug 13, 2009 at 4:30 PM, edvakf taka.atsu...@googlemail.com wrote:
Hi Nick,
I ran a little test, and it seems to me that the URL Fetch Quota is
counting the expanded text
Correction
The code is this. range(10) instead of range(1)
==
class Test(webapp.RequestHandler):
def get(self):
for i in range(10):
raw_data = urlfetch.fetch('http://atsushi-takayama.com/
siteinfo/foo.gz').content
This issue is now reported.
http://code.google.com/p/googleappengine/issues/detail?id=1975
edvakf
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
I found the part of the code where gzip file was magically unzipped.
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/api/urlfetch_stub.py
=