Re: urllib2: HTTP Version not supported

2006-11-02 Thread Tim Roberts
"Nirnimesh" <[EMAIL PROTECTED]> wrote: > >I'm using urllib2 module to fetch a URL from a server which understands >HTTP/1.1 only (no HTTP/1.0). > >urllib2.urlopen() results in "urllib2.HTTPError: HTTP Error 505: HTTP >Version not supported". > >How do I force urllib2 to use HTTP v1.1? Are you pass

urllib2: HTTP Version not supported

2006-11-02 Thread Nirnimesh
I'm using urllib2 module to fetch a URL from a server which understands HTTP/1.1 only (no HTTP/1.0). urllib2.urlopen() results in "urllib2.HTTPError: HTTP Error 505: HTTP Version not supported". How do I force urllib2 to use HTTP v1.1? Regards, Nirnimesh -- http://mail.python.org/mailman/listi