##// END OF EJS Templates
httppeer: do less splitting on httpheader value...
Augie Fackler -
r28483:6f38ec42 default
parent child Browse files
Show More
@@ -112,7 +112,7 b' class httppeer(wireproto.wirepeer):'
112 if len(args) > 0:
112 if len(args) > 0:
113 httpheader = self.capable('httpheader')
113 httpheader = self.capable('httpheader')
114 if httpheader:
114 if httpheader:
115 headersize = int(httpheader.split(',')[0])
115 headersize = int(httpheader.split(',', 1)[0])
116 if headersize > 0:
116 if headersize > 0:
117 # The headers can typically carry more data than the URL.
117 # The headers can typically carry more data than the URL.
118 encargs = urllib.urlencode(sorted(args.items()))
118 encargs = urllib.urlencode(sorted(args.items()))
General Comments 0
You need to be logged in to leave comments. Login now