[Twisted-Python] Compress/deflate support for getPage...

Aaron DeVore aaron.devore at gmail.com
Mon Dec 8 22:32:24 EST 2008


For a recent project I directly used HTTPClientFactory, the factory
that getPage is based on. That required a bit more effort than a
simple getPage(...).addCallback(func) but it wasn't terrible.

-Aaron

On Mon, Dec 8, 2008 at 4:47 PM, Alec Flett <alecf at metaweb.com> 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
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>




More information about the Twisted-Python mailing list