Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77659
| References | <mailman.13708.1409638130.18130.python-list@python.org> <540571b8$0$29876$c3e8da3$5496439d@news.astraweb.com> <87ppfddxnr.fsf@handshake.de> |
|---|---|
| Date | 2014-09-06 09:24 -0700 |
| Subject | Re: urllib2 redirect error |
| From | Sumit Ray <sumitbu.ray@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13839.1410025327.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
Steven, Thank you! User advice was on point. Sumit On Tue, Sep 2, 2014 at 11:29 PM, dieter <dieter@handshake.de> wrote: > Steven D'Aprano <steve@pearwood.info> writes: > > ... > > I'm not an expert, but that sounds like a fault at the server end. I just > > tried it in Chrome, and it worked, and then with wget, and I get the same > > sort of error: > > ... > > Sounds like if the server doesn't recognise the browser, it gets > > confused and ends up in a redirect loop. > > > > You could try setting the user-agent and see if that helps: > > Excellent analysis and advice. > > -- > https://mail.python.org/mailman/listinfo/python-list >
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
urllib2 redirect error Sumit Ray <sumitbu.ray@gmail.com> - 2014-09-02 02:08 -0400
Re: urllib2 redirect error Steven D'Aprano <steve@pearwood.info> - 2014-09-02 07:28 +0000
Re: urllib2 redirect error dieter <dieter@handshake.de> - 2014-09-03 08:29 +0200
Re: urllib2 redirect error Sumit Ray <sumitbu.ray@gmail.com> - 2014-09-06 09:24 -0700
csiph-web