Yes, regular browsers won't. As I said I have my own specialized client. This will also enable you to see that gzip does indeed work on appengine. Also, if you have your own specialized app like say an iPhone or Android app you can use this to get gzipped content.
On Tue, Mar 29, 2011 at 3:34 PM, Lenny Rachitsky <[email protected]> wrote: > That seems wrong, regular browsers don't have user-agent set to > "gzip". > > On Mar 29, 10:32 pm, Stephen Johnson <[email protected]> wrote: > > Hi Lenny, > > Like I said above. Try setting user-agent to gzip as well. That option > is: > > > > -A/--user-agent <agent string> > > > > I see in your output that your user-agent is > > curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l > > zlib/1.2.3 > > > > Again, I'm using a specialized client app so this might not be of use to > > you. > > Stephen > > > > > > > > > > > > > > > > On Tue, Mar 29, 2011 at 3:27 PM, Lenny Rachitsky <[email protected]> > wrote: > > > the curl command I gave as an example should be doing that: > > > > > * About to connect() towww.localmind.comport 80 (#0) > > > * Trying 74.125.113.121... connected > > > * Connected towww.localmind.com(74.125.113.121) port 80 (#0) > > > > GET / HTTP/1.1 > > > > User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 > > > OpenSSL/0.9.8l zlib/1.2.3 > > > > Host:www.localmind.com > > > > Accept: */* > > > > Accept-Encoding: deflate, gzip > > > > > < HTTP/1.1 200 OK > > > < Content-Type: text/html; charset=utf-8 > > > < Cache-Control: no-cache > > > < Expires: Fri, 01 Jan 1990 00:00:00 GMT > > > < Date: Tue, 29 Mar 2011 22:27:15 GMT > > > < Server: Google Frontend > > > < Transfer-Encoding: chunked > > > > > On Mar 29, 10:23 pm, Stephen Johnson <[email protected]> wrote: > > > > I get gzipped but I have my own client for my application. Specify a > > > > user-agent of gzip and accept-encoding of gzip,deflate > > > > > > On Tue, Mar 29, 2011 at 3:16 PM, Lenny Rachitsky <[email protected] > > > > > wrote: > > > > > I don't think anyone is getting the page gziped, which is the > problem. > > > > > > > On Mar 29, 10:03 pm, "Brandon Wirtz" <[email protected]> wrote: > > > > > > Google does some weird things detecting who gets gzip and who > doesn't > > > > > > > >http://www.whatsmyip.org/http_compression/ > > > > > > > > reports Google isn't Gzipped. Nor is my appengine hosted > instance, > > > but > > > > > when > > > > > > I surf in Chrome I get Gzip (most the time) > > > > > > > > -----Original Message----- > > > > > > From: [email protected] > > > > > > > > [mailto:[email protected]] On Behalf Of Lenny > > > Rachitsky > > > > > > Sent: Tuesday, March 29, 2011 2:23 PM > > > > > > To: Google App Engine > > > > > > Subject: [google-appengine] Gziping of response does not appear > to be > > > > > > working > > > > > > > > App Engine documentation tells me that if the client requesting > > > supports > > > > > > gzip ("Accept-Encoding: gzip"), the response will automatically > be > > > > > > compressed. I'm not seeing this, all my content appears to be > sent > > > > > > plaintext. Simple test: curl --compressed -v " > > >http://www.localmind.com" > > > > > > > > Am I missing something? I'm not doing anything funky in the > response > > > > > code, > > > > > > as far as I know. Any advice would be very much appreciated. > > > > > > > > -- > > > > > > You received this message because you are subscribed to the > Google > > > Groups > > > > > > "Google App Engine" group. > > > > > > To post to this group, send email to > > > [email protected]. > > > > > > To unsubscribe from this group, send email to > > > > > > [email protected]. > > > > > > For more options, visit this group athttp:// > > > > > groups.google.com/group/google-appengine?hl=en. > > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > Groups > > > > > "Google App Engine" group. > > > > > To post to this group, send email to > [email protected] > > > . > > > > > To unsubscribe from this group, send email to > > > > > [email protected]. > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/google-appengine?hl=en. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine" group. > > > To post to this group, send email to [email protected] > . > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
