getPage has a number of deficiencies. JP Calderone and Itamar Shtull-
Trauring have been working on this ticket:
<http://twistedmatrix.com/trac/ticket/886> which (among other things)
adds support for response headers and the hooks with which one would
implement deflate support.
On 12:47 am, [EMAIL PROTECTED] wrote:
Along similar lines, is there a better API than getPage() that allows
you to get headers, content-type, etc? The below could be easiliy
implemented as a callback if the callback knew what headers it got, so
it knew whether or not to deflate the body.
Alec
On Dec 8, 2008, at 4:00 PM, Sam's Lists wrote:
Is there any support for compress/deflate for webpages using the web
client via getPage?
If not, does anyone have a wrapper function before I make my own?
Thanks
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python