Message23245
I am trying to use urllib2 to retrieve a page from a
site requiring authentication. I supply the
authentication parameters, which succeed, and *a* page
is returned -- but not the page I originally requested.
As it turns out, the authentication is handled at a
completely different URL (actually a different domain);
I can confirm this by not supplying authentication
data, because I see a 302 earlier in the traceback when
authentication fails.
What I think is happening is that the redirect happens
to the authentication site, but the original URL that I
wanted has been forgotten. The page I get back is the
default page for the original (now authenticated) site,
not the page itself, which is deeper down in the site
hierarchy.
Sorry, I can't supply a patch!
Thanks
|
|
Date |
User |
Action |
Args |
2007-08-23 14:27:43 | admin | link | issue1071147 messages |
2007-08-23 14:27:43 | admin | create | |
|