W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 2000

IPV6 address in host header, needs clarification

From: Larry Masinter <LM@att.com>
Date: Mon, 17 Apr 2000 17:34:08 -0700
To: "HTTP Working Group" <http-wg@hplb.hpl.hp.com>
Message-ID: <NDBBKEBDLFENBJCGFOIJOENACIAA.LM@att.com>
Following RFC 2732 & integrating with HTTP 1.1:

> > The problem I have is in the Host field in the HTTP 1.1 header
> > 
> > It says:
> > 
> > Host hostname
> > 
> > or
> > 
> > Host hostname:port
> > 
> > If hostname is an IPv6 literal address, then there is an ambiguity due
> > the colon
> > 
> > example:
> > 
> > Host 3ffe::1:8080
> > 
> > Does this mean hostname is 3ffe::1 and port 8080 or hostname
> > 3ffe::1:8080 and default port 80 ?
> > 
> > The only way to remove the ambiguity is to make the use of [ ] around
> > the IPv6
> > literal address madatory. Such as:
> > 
> > Host [3ffe::1]:8080
> > 
> > or
> > 
> > Host [3ffe::1:8080]
> > 
> > 
> > We ran into this problem at Connectathon 2000.
Received on Tuesday, 18 April 2000 01:38:37 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:33:36 EDT