return corret null type

This commit is contained in:
2016-04-29 17:16:35 +02:00
parent e02f201b4e
commit 712da9b9f1
+1 -1
View File
@@ -562,7 +562,7 @@ class HttpHandler(BaseHTTPServer.BaseHTTPRequestHandler):
global sig global sig
code = 200 code = 200
xsig = 0 xsig = 0
rqAcceptEncoding = self.headers.getheader('Accept-encoding',None) rqAcceptEncoding = self.headers.getheader('Accept-encoding',{})
headerdict = {"Content-Type": "text/html; charset = ISO-8859-1" } headerdict = {"Content-Type": "text/html; charset = ISO-8859-1" }
if DEBUG > 2: sys.stderr.write("handle\n") if DEBUG > 2: sys.stderr.write("handle\n")
qr = urlparse.urlparse(self.path) qr = urlparse.urlparse(self.path)