Help Tracing urllib2 Error, Please?

Larry Hale larzluv at hotmail.com
Sat Jul 19 19:08:27 EDT 2008


Since it seems I have a "unique" problem, I wonder if anyone could
point me in the general/right direction for tracking down the issue
and resolving it myself.

See my prior post @ http://groups.google.com/group/comp.lang.python/browse_thread/thread/44775994a6b55161?hl=en#
for more info.  (Python 2.5.2 on Win XP 64 ==>> Squid Proxy requiring
Authentication ==>> Internet not working.)

I've looked the urllib2 source over, but am having trouble following
it.  As previously mentioned, urllib2 initiates the request, Squid
replies "407 error" that auth's required, and then urllib2 just stops,
throwing error 407.

Any though(s) on what to check out?

It's frustrating (to say the least) that it seems so many are
successfully accomplishing this task, and all's working perfectly for
them, but I'm failing miserably.

Would any quotes viewed in the HTTP traffic help?  (Wireshark shows
all!  :)  I don't even know what other info could help.

Any info to get about Squid's configuration that might make it "non
standard" in a way that could cause my problem?  Any question(s) I
should ask my Net Admin to relay info to you all?


As always, any/all help greatly appreciated.  Thanks!  :)

-Larry



More information about the Python-list mailing list