W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2009

Re: Host header vs host in absolute-URI

From: Henrik Nordstrom <henrik@henriknordstrom.net>
Date: Sat, 18 Jul 2009 08:04:16 +0200
To: Adrien de Croy <adrien@qbik.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <1247897056.5742.9.camel@localhost.localdomain>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:07 GMT