is gzip content encoding served/implemented in development server for local testing?

24 views
Skip to first unread message

Peter Blazejewicz

unread,
Jan 30, 2009, 4:19:32 PM1/30/09
to Google App Engine
hi all,

I'm testing application locally ("Development/1.0" server/Mac OS X/
Python 2.5) and want to be sure of one thing:
- even if both User-Agent/Accept-Encoding headers are specified in
request as in:
http://code.google.com/appengine/kb/general.html#compression
(and in few other places in issue list/group)
following occurs:
- "Accept-Encoding" is stripped from request.headers
*(logging)*
{'Content-Length': '', 'Connection': 'close', 'Accept': '*/*', 'User-
Agent': 'gzip', 'Host': 'localhost:8085', 'Content-Type': 'application/
x-www-form-urlencoded'}
*(sniffer)*
GET / HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: gzip
Accept-Encoding: gzip
Accept: */*
Connection: close
Host: localhost:8085

- no "gzip" is applied (string data is written to out without
specyfing "gzip" in response headers as required by docs)

Is that limitation of Development server (which is something I could
understand but I cannot find a confirmation trace in documentation or
web resources)?

tia,
regards,
Peter

Brett Slatkin

unread,
Feb 1, 2009, 11:46:57 PM2/1/09
to google-a...@googlegroups.com

Yes, this is a limitation of the development server. It does not do
any compression.

Peter Blazejewicz

unread,
Feb 9, 2009, 3:32:09 PM2/9/09
to Google App Engine
thx Brett!

Peter
Reply all
Reply to author
Forward
0 new messages