multiple host headers

2004-09-13 Thread Brian Akins
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

Re: multiple host headers

2004-09-13 Thread Roy T. Fielding
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

Re: multiple host headers

2004-09-13 Thread Andr Malo
* 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

multiple host headers?

2002-10-20 Thread André Malo
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