3 ms·
Host headers are explicitly required by the spec, and there are no clients left that leave them out (including non-browser clients like curl and wget). There is
by Freak_NL 8y ago
Host headers are explicitly required by the spec, and there are no clients left that leave them out (including non-browser clients like curl and wget). There is simply no reason to facilitate requests that have no Host header, so servers receiving them quite rightly serve some kind of error response.
- kibibu 8y agoRequired by the HTTP 1.1 spec, not the HTTP 1.0 spec