You can not "blindly" gzip your data unless you control the clients.
It's the client that tells if it can accept gzip content or not,
and the web server will choose to gzip it or not.
I will advice you to let this to the web server.
But if you really want to gzip yourself, than you should take care of the
request headers, specifically the Accept-Encoding one, ex:
Accept-Encoding: gzip, deflate
than if you gzip you should tell the client about it in the response
headers with:
Content-Encoding: gzip
http://en.wikipedia.org/wiki/HTTP_compression
Ricardo
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
web2py+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>