[Bug 595116] Re: ssl "error reading the headers"
Robert Grey
rgrey at openinit.com
Wed Jun 16 17:00:33 BST 2010
here is a python script I use to force the error:
import base64, httplib
base64string = base64.encodestring('%s:%s' % ("<uname>", "<password>"))[:-1]
headers = { "Authorization" : "Basic %s" % base64string }
while 1:
conn = httplib.HTTPSConnection("<host>")
conn.request("GET", "/dist/test.txt", headers=headers)
response = conn.getresponse()
try:
if response.status != 200:
print response.getheaders(), response.read()
break
else: print "OK"
finally: conn.close()
hope it helps
--
ssl "error reading the headers"
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list