Show More
@@ -97,6 +97,7 b' class httppeer(wireproto.wirepeer):' | |||
|
97 | 97 | self.ui.debug("sending %s command\n" % cmd) |
|
98 | 98 | q = [('cmd', cmd)] |
|
99 | 99 | headersize = 0 |
|
100 | if True: | |
|
100 | 101 | if len(args) > 0: |
|
101 | 102 | httpheader = self.capable('httpheader') |
|
102 | 103 | if httpheader: |
@@ -111,7 +112,8 b' class httppeer(wireproto.wirepeer):' | |||
|
111 | 112 | headernum += 1 |
|
112 | 113 | header = headerfmt % str(headernum) |
|
113 | 114 | headers[header] = encargs[i:i + contentlen] |
|
114 | varyheaders = [headerfmt % str(h) for h in range(1, headernum + 1)] | |
|
115 | varyheaders = [ | |
|
116 | headerfmt % str(h) for h in range(1, headernum + 1)] | |
|
115 | 117 | headers['Vary'] = ','.join(varyheaders) |
|
116 | 118 | else: |
|
117 | 119 | q += sorted(args.items()) |
General Comments 0
You need to be logged in to leave comments.
Login now