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


Groups > comp.lang.python > #63767

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

References <9e7e031f-b6db-43fc-84d2-ef68916ec756@googlegroups.com>
Date 2014-01-12 23:44 +1100
Subject Re: Python: 404 Error when trying to login a webpage by using 'urllib' and 'HTTPCookieProcessor'
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5366.1389530687.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Jan 12, 2014 at 11:17 PM, KMeans Algorithm <bilbaow@gmail.com> wrote:
> The page "https://www.mysite.com/loginpage" does exist

PS. If it's not an intranet site and the URL isn't secret, it'd help
if we could actually try things out. One of the tricks I like to use
is to access the same page with a different program/library - maybe
wget, or bare telnet, or something like that. Sometimes one succeeds
and another doesn't, and then you dig into the difference (once I
found that a web server failed unless the request headers were in a
particular order - that was a pain to (a) find, and (b) work around!).

ChrisA

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