You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Piero Cavalieri <pi...@heidi.it> on 2006/09/01 09:30:39 UTC

Re: HTTP/1.1 400 Bad Request --- Tomcat 5.0.28/IIS6 (Win2003)/JK-1.2.15

That was only the GET. The complete headers was so:

GET 
/geonetwork/srv/en/main.search?extended=off&remote=off&attrset=geo&any=&hitsPerPage=10 
HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/x-shockwave-flash, application/vnd.ms-excel, 
application/vnd.ms-powerpoint, application/msword, */*
Referer: http://dev.heidi.it/geonetwork/srv/en/main.home
Accept-Language: it
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
CLR 1.1.4322; .NET CLR 2.0.50727)
Host: myhost
Proxy-Connection: Keep-Alive
Cookie: JSESSIONID=9721047A40A1D2323EFAD7E1D836FBB7; 
.ASPXAUTH=8E388B49677A4A3E2EB5D6040CB9CE19B4CF4FB52AFE22827A48DA09ED387D7C80FAA40463D0C62F38192C564B5AC6DD15C868F7D2D16C86A8CC2089E50313597D38C92372BFE7A3D21B69DD7936983D; 
ASP.NET_SessionId=lk0msmbi5221htunjk5rx4qc

Where u can see there is the Host.

Piero

Darryl Miles ha scritto:
> Piero Cavalieri wrote:
>> The get:
>> GET 
>> /geonetwork/srv/en/main.search?extended=off&remote=off&attrset=geo&any=&hitsPerPage=10 
>> HTTP/1.1
>>
>> The response:
>> HTTP/1.1 400 Bad Request
>> Content-Type: text/html
>> Date: Thu, 31 Aug 2006 10:02:04 GMT
>> Connection: close
>> Content-Length: 35
>
> Is it because you are missing the _MANDATORY_ "Host:" header, which is 
> required for HTTP/1.1.
>
> Darryl
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


--
Il contenuto di questo messaggio e' confidenziale e la lettura non
autorizzata dello stesso viola i diritti di privacy del mittente e del
destinatario.

Se avete ricevuto questo messaggio per errore siete pregati di
rimuoverlo dal Vostro sistema.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org