##// END OF EJS Templates
httppeer: convert request url back to bytes before inspecting it...
Augie Fackler -
r34725:9c3dcaf6 default
parent child Browse files
Show More
@@ -303,7 +303,7 b' class httppeer(wireproto.wirepeer):'
303 _wraphttpresponse(resp)
303 _wraphttpresponse(resp)
304
304
305 # record the url we got redirected to
305 # record the url we got redirected to
306 resp_url = resp.geturl()
306 resp_url = pycompat.bytesurl(resp.geturl())
307 if resp_url.endswith(qs):
307 if resp_url.endswith(qs):
308 resp_url = resp_url[:-len(qs)]
308 resp_url = resp_url[:-len(qs)]
309 if self._url.rstrip('/') != resp_url.rstrip('/'):
309 if self._url.rstrip('/') != resp_url.rstrip('/'):
General Comments 0
You need to be logged in to leave comments. Login now