Re: Claification requested in Host:

> From: "Roy T. Fielding" <fielding@kiwi.ICS.UCI.EDU>

> >Here is a HTTP 1.1 question for you.  According to the spec 14.23, the
> >Host field is defined as
> >	"Host" ":" host [ ":" port ]
> >where (in 3.2.2), host is defined as
> >	<a legal Internet host domain name or IP address...>
> >
> >The question is whether a single component name consititute a "legal"
> >Internet host domain name?  For example, a user types in "foo" at his
> >browser, which runs in domain "".  The browser is smart enough
> >to assume the use wants to talk to "", and hence gets the
> >correct IP address.  But in the HTTP request, the browser sends
> >	Host : foo

How does a proxy handle this?
This seems like something that should be nailed down in the 1.1 spec.


	client requests 
		url http://www/file.html 
		from proxy gets request, and looks up what? (www in the local context, potentialy) (suffix the implied client domain)


	client requests same as above tries, which doesn't exist

		client would have found locally the entry,

		proxy-located resolution of DNS names
		forces proxy-local resolution rules 
		to be applied to partial names

This can be fixed by requiring the client to do resolution
with reverse lookup to submit complete names to the proxy.

The 1.1 spec should require complete names,
either by:

	limiting URLs to fully-specified names only

	requiring client-side completion of partially-specified names.

Joe Touch -
ISI / Project Leader, ATOMIC-2, LSAM
USC / Research Assistant Prof.      

Received on Wednesday, 19 February 1997 11:16:37 UTC