Re: Host header vs host in absolute-URI

lör 2009-07-18 klockan 15:38 +1200 skrev Adrien de Croy:

> or are you referring to p1 messaging s 5.1.2 para 6
> 
> "The most common form of request-target is that used to identify a
> resource on an origin server or gateway. In this case the absolute
> path of the URI MUST be transmitted (see Section 2.1.1, path-
> absolute) as the request-target, and the network location of the URI
> (authority) MUST be transmitted in a Host header field."

Yes, and there is also

8.4 Host

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.

and

5.2 The Resource Identified by a Request

If request-target is an absolute-URI, the host is part of the
request-target. Any Host header field value in the request MUST be
ignored.

Regards
Henrik

Received on Saturday, 18 July 2009 06:05:01 UTC