[Twisted-web] cookielib and http client

Frédéric Gobry frederic.gobry at epfl.ch
Thu Mar 30 07:19:22 CST 2006


Enclosed is a simple implementation of a subclass of t.web.client's
HTTPClientFactory which uses the cookielib module from python2.4.

This makes it possible to tune the way cookies are handled while getting
web pages in twisted.

I had in mind to work on a more complete port of mechanize
<http://wwwsearch.sourceforge.net/mechanize/> to twisted, but had to
switch to something else in the meantime. Hope it might be useful to


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cookiefetch.py
Type: text/x-python
Size: 2859 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20060330/172b74f0/cookiefetch.py

More information about the Twisted-web mailing list