equal
deleted
inserted
replaced
4710 value = pycompat.strurl(m.group(2)) |
4710 value = pycompat.strurl(m.group(2)) |
4711 headers[key] = value |
4711 headers[key] = value |
4712 continue |
4712 continue |
4713 |
4713 |
4714 if line.startswith(b'BODYFILE '): |
4714 if line.startswith(b'BODYFILE '): |
4715 with open(line.split(b' ', 1), 'rb') as fh: |
4715 body = util.readfile(line.split(b' ', 1)) |
4716 body = fh.read() |
|
4717 elif line.startswith(b'frame '): |
4716 elif line.startswith(b'frame '): |
4718 frame = wireprotoframing.makeframefromhumanstring( |
4717 frame = wireprotoframing.makeframefromhumanstring( |
4719 line[len(b'frame ') :] |
4718 line[len(b'frame ') :] |
4720 ) |
4719 ) |
4721 |
4720 |