Open bouk opened 1 year ago
Looks good to me, but I don't know about any wider reaching implications of this.
Thank you very much for the fix.
Any chance you can update the tests to cover this? e.g. unwrap_message_asgi
is tested in test_protocol.py
I saw trailers encoded like
b'grpc-status': b'0'
which is happening because strings and bytes were being mixed. Now trailers are always strings and they're encoded in the pack_trailers method