[Tutor] confusing HTTP error while using urlopen

asdg asdg mishu_yim at yahoo.com
Fri Jul 18 22:31:40 CEST 2008

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 :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080718/e1a6b251/attachment-0001.htm>

More information about the Tutor mailing list