> > De: Remy Maucherat [mailto:[EMAIL PROTECTED]]
> > Enviado el: jueves 11 de abril de 2002 10:57
>
> > >   -- Degrade to the socket port on HTTP/1.0 requests with a
> > Host header
> > but no port number.
> > >
>
> if you are under a nat, dafaulting to the socket port maybe no correct,
> you could have tomcat in 8080, and the request would be redirected from
> a 80 port, so if a host header with no port is present the correct
> behavior should be to degrade to 80, without taking the socket port into
> consideration, as the client can actually see it as 80.. so we must obey
> the host header ever if present..

That's what is done.

In HTTP/1.0, there's no host header defined in the spec, so a client using
and expecting it to work is non-compliant.
In HTTP/1.1, we always follow the host header, and ignore what the socket
says, according to the spec.

Remy


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to