mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 09:26:14 +01:00
- oscssl.myHTTPSHandler.https_open: use selector instead of fullurl
- fixes an issue with lighttpd 1.5
This commit is contained in:
parent
4a8a495849
commit
53361a50f1
@ -197,7 +197,7 @@ class myHTTPSHandler(M2Crypto.m2urllib2.HTTPSHandler):
|
||||
# request.
|
||||
headers["Connection"] = "close"
|
||||
try:
|
||||
h.request(req.get_method(), req.get_full_url(), req.data, headers)
|
||||
h.request(req.get_method(), req.get_selector(), req.data, headers)
|
||||
r = h.getresponse()
|
||||
except socket.error, err: # XXX what error?
|
||||
err.filename = full_url
|
||||
|
Loading…
Reference in New Issue
Block a user