[twill] gzip'd HTML request

Angelo Romano angelo.romano at gmail.com
Thu Feb 25 07:57:49 PST 2010

Hallo everybody,
I have a problem with twill, as I need to test an application forcing
"Accept-Encoding: gzip, deflate" into the HTTP request. This can be
easily done through twill, however gzip'd pages cannot be uncompressed
as far as I know. I am aware a experimental feature for that was
available in mechanize (which is also part of twill), but
unfortunately I have no idea about how to use it - if it can be used.
Any ideas?

Angelo Romano
Computer Scientist

"There is no Republican, no Democratic, no Socialist way to clean a
street or build a sewer, but merely a right way and a wrong way."
(Fiorello LaGuardia, New York City mayor)

More information about the twill mailing list