-
Harris Hancock authored
There is currently no way to explicitly omit a Content-Length/Transfer-Encoding header on an HTTP response to a HEAD request. This is awkward for a proxy, which would ideally pass along responses as-is, even if they have no such headers. This change allows an author to pass zero as the expected body length to HttpService::Response::send() to mean "do not set any body header." This means that a proxy might strip Content-Length: 0 headers, but will never add a Content-Length header where there was none before.
48083d47
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
gtest.h | ||
gzip-test.c++ | ||
gzip.c++ | ||
gzip.h | ||
http-test.c++ | ||
http.c++ | ||
http.h | ||
make-test-certs.sh | ||
readiness-io-test.c++ | ||
readiness-io.c++ | ||
readiness-io.h | ||
tls-test.c++ | ||
tls.c++ | ||
tls.h | ||
url-test.c++ | ||
url.c++ | ||
url.h |