FAQ

cartermark46 at ukmail.com (Mark Carter) writes:

I'll investigate further.
Here are the results from running tests in ClientCookie 0.4.4.a: [...]
The upshot of this is that load_cookie_data() now works in win 98 and
xp.
load_from_registry() works from win xp; it works from win 98 if and
only if you set the USERNAME environment variable.
You missed the username argument.

cookiejar.load_from_registry(username="mark")

(should only be required for win9x family)

I appreciate that all the stuff about request2 and response2 may not
be to your liking - but at the moment I'm just trying to figure out
what works, and what doesn't. We can also worry about the delayload
business later.
No really, I wasn't joking: you *never* need to use add_cookie_header
/ extract_cookies if you're using urllib2 (at least, I can't think of
any possible reason to do so). It can only break things.

What do you think about the idea of actually setting up an Aapache web
page to test these things 'for real'?
I've done limited testing on Windows with 'fake' cookies from a local
Apache server, and on wine on linux. As I said, though, I don't have
a networked Windows OS, so it's inconvenient to test these things in a
'real' situation. And my machine currently doesn't boot into Windows
without physically switching cables around (security & obscure
hardware issues, not software ones), which means I currently can't be
bothered to test it on Windows :-P. So, your feedback is appreciated.


John

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 18 of 37 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedAug 14, '03 at 9:37a
activeAug 27, '03 at 11:54a
posts37
users8
websitepython.org

People

Translate

site design / logo © 2022 Grokbase