automatic cookie handling with urllib?

dustybos boswell at ugcs.caltech.edu
Thu Mar 22 04:02:33 EST 2001


I am doing a project that essentially involves rewriting a browser.  The
server
I am dealing with uses cookies and lots of redirects, and I was hoping
to use
urllib.py seamlessly.  But since urllib doesn't handle cookies, I feel
like I have
no choice but hack away at urllib.py and httplib.py to make a version
that
handles it for me.  It's not *that* big of a deal, but I would like to
use a module
that has already implemented the RFC (path, expiration, domain, etc...)
for me.

Has anyone run into a similar problem or know of a good
library/module/whatever
to make cookies automatically handled like redirects?

Thanks a lot.
Dustin Boswell.




More information about the Python-list mailing list