Re: NEW ISSUE: empty Host header

Bjoern Hoehrmann wrote:
> Hi,
> 
>   The specification states "If the requested URI does not include an
> Internet host name for the service being requested, then the Host header
> field MUST be given with an empty value" but the grammar does not seem
> to allow this.
> 
>      Host = "Host" ":" host [ ":" port ] ; Section 3.2.2
> 
> should be changed into
> 
>      Host = "Host" ":" [ host [ ":" port ] ] ; Section 3.2.2
> 
> regards,

Good point.

So what exactly does "requested URI" refer to, and how can it ever not 
include a host name? Is this about "hostname" vs "IPv4address" 
(http://tools.ietf.org/html/rfc2396#section-3.2.2)?

BR, Julian

Received on Wednesday, 21 November 2007 15:32:50 UTC