[jetty-dev] [jira] (JETTY-1533) Jetty returns 400 if url doesn't have trailing slash.

"Greg Wilkins (JIRA)" <[email protected]> Mon, 9 Jul 2012 14:03:21 -0500 (CDT)
Newsgroups gmane.comp.java.jetty.general
Message-ID <871644700.23335.1341860601099.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
Greg Wilkins
commented on JETTY-1533

Jetty returns 400 if url doesn't have trailing slash.

RFC2616 says in section 5.1.2:

Note that the absolute path cannot be empty; if none is present in the original URI, it MUST be given as "/"

Furthermore, I don't think that absolute URLs are valid in HTTP/1.0 unless it is a proxy request?

So this is really an issue with the client and or proxy that you are using. What is the client? Also what jetty version and connector are you using?

However, I'm not opposed to looking at adding an option to automatically convert empty path to /. But as we've never had complaints before, I'd like to know a bit more about the use-case before we make such a change.

This message is automatically generated by JIRA.

If you think it was sent incorrectly, please contact your JIRA administrators .

For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email