HTTP/1.1 request MUST send a Host header

Life is short , play more!
本文来自lihao's Blog,转载请注明。

important that all implementations of HTTP (including updates to existing HTTP/1.0 applications) correctly implement these requirements: – Both clients and servers MUST support the Host request-header.
– A client that sends an HTTP/1.1 request MUST send a Host header.
– Servers MUST report a 400 (Bad Request) error if an HTTP/1.1
request does not include a Host request-header.
– Servers MUST accept absolute URIs.


发表评论

电子邮件地址不会被公开。 必填项已用*标注