##// END OF EJS Templates
url: fix a bytes vs str crash in processing proxy headers (issue6249)...
Matt Harbison -
r45306:a50f33f1 stable
parent child Browse files
Show More
@@ -225,7 +225,7 b' def _generic_start_transaction(handler, '
225
225
226 def _generic_proxytunnel(self):
226 def _generic_proxytunnel(self):
227 proxyheaders = {
227 proxyheaders = {
228 x: self.headers[x]
228 pycompat.bytestr(x): pycompat.bytestr(self.headers[x])
229 for x in self.headers
229 for x in self.headers
230 if x.lower().startswith('proxy-')
230 if x.lower().startswith('proxy-')
231 }
231 }
General Comments 0
You need to be logged in to leave comments. Login now