-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
StreamWriter appends not wanted information. #475
Copy link
Copy link
Closed
Description
I'm currently working on a mjpeg proxy server with aiohttp. I use the StreamWriter to transmit the information. But if I'm using
sr.write(b"x")
sr.write(b"y")
sr.write(b"z")the StreamResponse appends the length of the chunk with a newline
x1\r\ny1\r\nz1\r\n
Is there a posibility to send raw data?
EDIT:
I wrote StreamWriter, but i mean StreamResponse.
I've found out that the StreamResponse uses the chunked transfer encoding and those "not wanted information" are part of it.
Reactions are currently unavailable