##// END OF EJS Templates
wireprotoserver: headers are bytes for us internally, use bytes...
Augie Fackler -
r37608:9170df91 default
parent child Browse files
Show More
@@ -103,7 +103,7 b' class httpv1protocolhandler(object):'
103
103
104 def getprotocaps(self):
104 def getprotocaps(self):
105 if self._protocaps is None:
105 if self._protocaps is None:
106 value = decodevaluefromheaders(self._req, r'X-HgProto')
106 value = decodevaluefromheaders(self._req, b'X-HgProto')
107 self._protocaps = set(value.split(' '))
107 self._protocaps = set(value.split(' '))
108 return self._protocaps
108 return self._protocaps
109
109
General Comments 0
You need to be logged in to leave comments. Login now