On Fri, 18 Jan 2002, Binand Raj S. wrote:

> On Tuesday 15 January 2002 17:32 pm, Philip S Tellis wrote:
> > Therefore, if I type http://gcc.gnu.org, the browser MUST do this:
> >
> > GET / HTTP/1.1
> > Host: gcc.gnu.org:80
> 
> IIRC, The port number is not required in the Host: header. I'd
> like to hear a quote from the relevant RFC.

No, if it is port 80, then it is optional.  the port number is only 
required in the Host: header if it is not port 80.

Most would say that the server knows what port the client has connected 
on, so it isn't required.  This holds true only if the connection is 
directly between client and server.  If a proxy sits in between, things 
change.  The proxy needs to know on what port to connect with the 
server.

But then, you already knew that - you initiated me into the behaviour of
proxies.  :)

Philip

-- 
Kirk to Enterprise -- beam down yeoman Rand and a six-pack.


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to