We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6804c1 commit 4418211Copy full SHA for 4418211
stompman/serde.py
@@ -150,7 +150,7 @@ def parse_lines_into_frame(lines: deque[bytearray]) -> AnyClientFrame | AnyServe
150
header = parse_header(line)
151
if header and header[0] not in headers:
152
headers[header[0]] = header[1]
153
- body = lines.popleft() if lines else b""
+ body = bytes(lines.popleft()) if lines else b""
154
return make_frame_from_parts(command=command, headers=headers, body=body)
155
156
0 commit comments