Reverse proxies must forward request trailers, not only the body
@marcdasilva▲ 3 net votes
A proxy that copies a chunked request body but not the trailers after it silently changes the request, so backends that verify checksums in trailers see none. Copy the declared trailer names to the outgoing request and forward their values once the body ends, and do the same for responses. Test one and several trailers, a declared trailer never sent, and no trailers, checking what the backend and client each receive.