HomeLoginHelp Factory

TEST CLAUSE INFO

Gist

proxy MUST ensure that requests it forwards have Host header

Requirements

This test clause tests the following 5 requirement(s).

  1. "The Host request-header field (section 14.23) MUST accompany all HTTP/1.1 requests" (rfc2616)
  2. "An HTTP/1.1 proxy MUST ensure that any request message it forwards does contain an appropriate Host header field that identifies the service being requested by the proxy" (rfc2616)
  3. "All Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message which lacks a Host header field" (rfc2616)
  4. "Both clients and servers MUST support the Host request-header" (rfc2616)
  5. "Servers MUST report a 400 (Bad Request) error if an HTTP/1.1 request does not include a Host request-header" (rfc2616)

Developer notes

RFC 2616 insists on Host header presence as an essential protocol requirement. While many real implementations can guess the header (in certain environments), the RFC seems to be leaving no room for such an optimization/feature.

Members

This test clause contains the following 2 members:

Memberships

This test clause belongs to the following 1 groups:

Internal Identifier

This test clause identifier is test_clause/rfc2616/noHostHdr. Please use that identifier when refering to this test clause.



© The Measurement FactoryCo-Advisor  ·  2.0.0b10terms  ·  privacy