How should HTTP Server respond to HEAD request for chunked encoding
http, http-headers, httpresponse, rfc2616
Solution
The Transfer-Encoding header field is an aspect of the payload. For HEAD responses, you don't have a payload, thus no Transfer-Encoding header field; even if it would be used upon GET.
Problem
I have a question on how does a HTTP Server response look like when a HEAD is sent to a resource and server decided to perform chunked encoding? If a Server always wishes to perform chunked encoding for a GET on a specific resource, as it does not know the exact content-length while generating response, how should server behave when a HEAD is sent on the same resource.