Python: 404 Error when trying to login a webpage by using 'urllib' and 'HTTPCookieProcessor'

xDog Walker thudfoo at gmail.com
Sun Jan 12 10:17:41 EST 2014


On Sunday 2014 January 12 04:42, Chris Angelico wrote:
> As a last resort, try firing up Wireshark or something and watch
> exactly what gets sent and received. I went looking through the docs
> for a "verbose" mode or a "debug" setting but can't find one - that'd
> be ideal if it exists, though.

I think you can set debug on httplib before using urllib to get the header 
traffic printed. I don't recall exactly how to do it though.

-- 
Yonder nor sorghum stenches shut ladle gulls stopper torque wet 
strainers.




More information about the Python-list mailing list