Show More
@@ -3286,7 +3286,10 b' def debugwireproto(ui, repo, path=None, ' | |||
|
3286 | 3286 | line = line.lstrip() |
|
3287 | 3287 | m = re.match(b'^([a-zA-Z0-9_-]+): (.*)$', line) |
|
3288 | 3288 | if m: |
|
3289 | headers[m.group(1)] = m.group(2) | |
|
3289 | # Headers need to use native strings. | |
|
3290 | key = pycompat.strurl(m.group(1)) | |
|
3291 | value = pycompat.strurl(m.group(2)) | |
|
3292 | headers[key] = value | |
|
3290 | 3293 | continue |
|
3291 | 3294 | |
|
3292 | 3295 | if line.startswith(b'BODYFILE '): |
General Comments 0
You need to be logged in to leave comments.
Login now