Override Content-Length and Transfer-Encoding in http-over-capnp.
Some applications expect to be able to inspect these headers in order to learn about the properties of the entity-body. Currently, over RPC, the sender could send arbitrary header values that have nothing to do with the actual body. Instead, let's just overwrite them to match.
Showing
Please
register
or
sign in
to comment