MTPRM / mtprm-proto

Proto
0 stars 0 forks source link

Fix grpc-gateway server's `Content-Type` when streaming responses #9

Closed achaphiv closed 1 month ago

achaphiv commented 1 month ago

Related: https://togithub.com/grpc-ecosystem/grpc-gateway/issues/581

achaphiv commented 1 month ago

Mostly fixed by: 4d946a7fecb286e9f9d333226ee402285ab407c5

achaphiv commented 1 month ago

I'm not sure how best to avoid setting the content type upon error.

Right now I'm looking at the message contents: 0ab14dc7a750af3c6d27d0146b104bc7f36c153f.

achaphiv commented 1 month ago

Looks good enough for now.