connectrpc / connectrpc.com

Docs, governance, and RFCs for Connect: Protobuf RPC that works.
https://connectrpc.com
Apache License 2.0
15 stars 19 forks source link

Update protocol spec: Clients and servers must not attempt to decompress zero-length HTTP content #92

Closed timostamm closed 10 months ago

timostamm commented 10 months ago

An issue in Connect for Kotlin reports that a client errored on a response with a zero-length body and the header Content-Encoding: gzip.

While this should not be a common form, the fetch implementations in modern browsers accept it without error. For better interoperability, this updates the protocol specification to require clients and servers to accept this form: They must not attempt to decompress zero-length payloads.

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
connect ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2023 10:27am
akshayjshah commented 10 months ago

Thank you, Timo!