[Tutor] confusing HTTP error while using urlopen
Chad Crabtree
flaxeater at gmail.com
Fri Jul 18 23:38:49 CEST 2008
Well I can confirm this behavior. I tried changing the user-agent
thinking there might be some filtering based on that but no go. Still
HTTP 400 error. WGET works just fine though
On Fri, Jul 18, 2008 at 4:31 PM, asdg asdg <mishu_yim at yahoo.com> wrote:
> I'll skip the introduction and go right to the question cause it's as simple
> as it's confusing for me.
>
> Why does urllib2.urlopen("http://www.anuntul.ro") return HTTPError: HTTP
> Error 400: Bad Request, while the site opens with no problems in any regular
> browser.
>
> Thank you in advance for answering :)
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>
More information about the Tutor
mailing list