Create a cookie with cookielib
John J. Lee
jjl at pobox.com
Sun Feb 4 14:15:44 EST 2007
More information about the Python-list mailing list
Sun Feb 4 14:15:44 EST 2007
- Previous message (by thread): Create a cookie with cookielib
- Next message (by thread): Create a cookie with cookielib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Matthew Franz" <mdfranz at gmail.com> writes: > I'm not sure what you mean be forge, but if you mean set an arbitrary > cookie manually (vs. one that was provided by the server). just use > add_header() in http://docs.python.org/lib/request-objects.html > > It may be possible to use CookieJar for this purpose but I've only > used it for manipulating cookies set by the server... > > And I would agree that Python cookie APIs are less intuitive than > what are available in others such as Jakarta HttpClient.... There's not really intended to *be* an API, for most purposes -- you just let it do its stuff. What do you like from HttpClient? John
- Previous message (by thread): Create a cookie with cookielib
- Next message (by thread): Create a cookie with cookielib
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list