Why do we merge multiple Host headers? I am getting wierd things like
this for headers_in host: www.cnn.com, www.cnn.com
This may be correct, but it caught me by surprise!
--
Brian Akins
Lead Systems Engineer
CNN Internet Operations
Why do we merge multiple Host headers? I am getting wierd things like
this for headers_in host: www.cnn.com, www.cnn.com
This may be correct, but it caught me by surprise!
Well, it is an invalid HTTP request. The question is, should be
fix it for the client by choosing either the first or last
* Roy T. Fielding [EMAIL PROTECTED] wrote:
Why do we merge multiple Host headers? I am getting wierd things like
this for headers_in host: www.cnn.com, www.cnn.com
This may be correct, but it caught me by surprise!
Well, it is an invalid HTTP request. The question is, should be
fix
Just playing around ;-)
Consider the following request: (test is a directory)
GET /test HTTP/1.1
Host: gsmpf
Host: test
Host: lala
HTTP/1.1 301 Moved Permanently
Date: Mon, 21 Oct 2002 00:27:17 GMT
Server: Apache/2.0.43 (Win32)
Location: http://gsmpf, test, lala/test/
Content-Length: 314