You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/03/20 01:52:15 UTC

DO NOT REPLY [Bug 39396] OPTIONS request on directory with no default file reports an incorrect list of allowed HTTP verbs

https://issues.apache.org/bugzilla/show_bug.cgi?id=39396


Aleksander Adamowski <al...@altkom.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aleksander.adamowski.apache@
                   |                            |altkom.pl




--- Comment #1 from Aleksander Adamowski <al...@altkom.pl>  2008-03-19 17:52:15 PST ---
Confirming the bug on Tomcat 5.5.17 where Coyote reports itself as
Apache-Coyote/1.1.

Steps to reproduce:

$ telnet example.com 8080
OPTIONS /directory/ HTTP/1.0

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Allow: GET, HEAD, POST, TRACE, OPTIONS
Content-Type: text/html
Content-Length: 0
Date: Thu, 20 Mar 2008 00:44:46 GMT
Connection: close


What's interesting, the same request using HTTP/1.1 instead of HTTP/1.0 fails:

$ telnet example.com 8080
OPTIONS /directory/ HTTP/1.1

HTTP/1.1 400 Bad Request
Server: Apache-Coyote/1.1
Transfer-Encoding: chunked
Date: Thu, 20 Mar 2008 00:51:03 GMT
Connection: close

0


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org