You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't return bytes without getting an error that bytes can't be converted to PyString.
Digging into the code I think this is due to the struct Response using String instead of bytes.
Expected Behavior
Web servers should be able to return bytes.
Screenshots
Environment:
Host OS:
Browser:
[Optional] Additional Context
I figured i'd take a crack at it in a PR.
The text was updated successfully, but these errors were encountered:
Description
I can't return bytes without getting an error that bytes can't be converted to PyString.
Digging into the code I think this is due to the
struct Response
using String instead of bytes.Expected Behavior
Web servers should be able to return
bytes
.Screenshots
Environment:
[Optional] Additional Context
I figured i'd take a crack at it in a PR.
The text was updated successfully, but these errors were encountered: