Message91857
Works fine for me in 2.6 but fails as said by OP on 2.5.
(I came across this in the course of my work and am submitting a change
in a bug for the first time, pardon me if something is inappropriate :)
I used this modified codeblock:
----------
import cookielib
import urllib2
cookiejar = cookielib.LWPCookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookiejar))
url = 'https://www.orange.sk/'
req = urllib2.Request(url, None)
s=opener.open(req)
print s.read();
-------------------
2.6 gives a complete HTML page but 2.5 raises httplib.BadStatusLine
exception. |
|
Date |
User |
Action |
Args |
2009-08-22 07:27:03 | shashank | set | recipients:
+ shashank, jjlee, orsenthil, ajaksu2, ak |
2009-08-22 07:27:03 | shashank | set | messageid: <1250926023.29.0.51590316103.issue5007@psf.upfronthosting.co.za> |
2009-08-22 07:27:01 | shashank | link | issue5007 messages |
2009-08-22 07:27:01 | shashank | create | |
|