Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63777

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

From xDog Walker <thudfoo@gmail.com>
Subject Re: Python: 404 Error when trying to login a webpage by using 'urllib' and 'HTTPCookieProcessor'
Date 2014-01-12 07:17 -0800
References <9e7e031f-b6db-43fc-84d2-ef68916ec756@googlegroups.com> <CAPTjJmpUvXhrtiX3DrkWDvy+OwmsALy-075aOmz7P=2MKoTxrg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5371.1389539937.18130.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python: 404 Error when trying to login a webpage by using 'urllib' and 'HTTPCookieProcessor' KMeans Algorithm <bilbaow@gmail.com> - 2014-01-12 04:17 -0800
  Re: Python: 404 Error when trying to login a webpage by using 'urllib' and 'HTTPCookieProcessor' Chris Angelico <rosuav@gmail.com> - 2014-01-12 23:42 +1100
  Re: Python: 404 Error when trying to login a webpage by using 'urllib' and 'HTTPCookieProcessor' Chris Angelico <rosuav@gmail.com> - 2014-01-12 23:44 +1100
  Re: Python: 404 Error when trying to login a webpage by using 'urllib' and 'HTTPCookieProcessor' xDog Walker <thudfoo@gmail.com> - 2014-01-12 07:17 -0800
  Re: Python: 404 Error when trying to login a webpage by using 'urllib' and 'HTTPCookieProcessor' Terry Reedy <tjreedy@udel.edu> - 2014-01-12 15:51 -0500

csiph-web