From 53361a50f1baa65c6a7c567b340236123f6d14d0 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Tue, 16 Nov 2010 21:29:33 +0100 Subject: [PATCH] - oscssl.myHTTPSHandler.https_open: use selector instead of fullurl - fixes an issue with lighttpd 1.5 --- osc/oscssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/oscssl.py b/osc/oscssl.py index d2f0e663..69ba8fc9 100644 --- a/osc/oscssl.py +++ b/osc/oscssl.py @@ -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