On Thu, Feb 11, 2010 at 7:56 AM, Mark Thomas <ma...@apache.org> wrote:
> On 11/02/2010 15:50, Hassan Schroeder wrote:
>> On Thu, Feb 11, 2010 at 7:45 AM, Mohit Anchlia <mohitanch...@gmail.com> 
>> wrote:
>>
>>> [r...@e1 ~]# telnet ws1 8080
>>> Trying 10.10.50.55...
>>> Connected to ws1 (10.10.50.55).
>>> Escape character is '^]'.
>>> GET / HTTP1.1
>>
>>> I had to hit enter twice to get the result. Does it sound ok? If yes,
>>> then I am not sure why 1.1 be a incorrect version.
>>
>> Because your request is malformed -- it should be  GET / HTTP/1.1
>
> You're right I missed that. Fix that and then you'll get a 400 response
> as you haven't specified a host.
>

I was just following Chris's reply where he was able to get response
in the same way I was trying to do. Unless I missed something.

As expected I got Bad request. But my question is there a error log
where everything that server responded to in logged. This Bad request
wasn't logged in access valve. How can I get all the error codes?

[r...@be1 ~]# telnet ws1.5080
Trying 10.10.50.55...
Connected to ws1.ptctax.intuit.com (10.10.50.55).
Escape character is '^]'.
GET / HTTP/1.1

HTTP/1.1 400 Bad Request
Server: Apache-Coyote/1.1
Transfer-Encoding: chunked
Date: Thu, 11 Feb 2010 16:02:11 GMT
Connection: close


Thanks everyone for your help
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to