• Kenton Varda's avatar
    Override Content-Length and Transfer-Encoding in http-over-capnp. · 0123e171
    Kenton Varda authored
    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.
    0123e171
http-over-capnp.c++ 28.7 KB