views:

27

answers:

1

Does gzip work on the python development server for appengine? How can I test this in the future?

Note: I've used Firebug to look at my HTTP requests from the browser, and I see that Accept-Encoding is set to "gzip,deflate".

A: 

to see if the server responds with gzip encoded headers look for

Content-Encoding:gzip

in the response headers

€: found this in their faq

Google App Engine does its best to serve gzipped content to browsers that support it. Taking advantage of this scheme is automatic and requires no modifications to applications.

We use a combination of request headers (Accept-Encoding, User-Agent) and response headers (Content-Type) to determine whether or not the end-user can take advantage of gzipped content. This approach avoids some well-known bugs with gzipped content in popular browsers. To force gzipped content to be served, clients may supply 'gzip' as the value of both the Accept-Encoding and User-Agent request headers. Content will never be gzipped if no Accept-Encoding header is present.

Christian Smorra
Christian: thanks for the pointer to the response headers.
Andrew B.
if this was the answer you were looking for i would kindly ask that you accept it
Christian Smorra