|
|
|
|
|
by latch
1609 days ago
|
|
OP is correct. HTTP/1.1 requires the Host header (1). The client must send it, and the server must reject requests without it. Some implementations simply don't follow the standard. For example, you can test this on twitter.com, which appears to be correctly following the specification. (1) https://www.rfc-editor.org/rfc/rfc7230#section-5.4 |
|
I’ve done plenty of telnets using 1.0 without the need for the host header. Just depends on if the server is a dedicated server or running a bunch of hosts (and the default host isn’t the one you want).