Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad Request (400) from Jetty when accessing URL with no '/' at end #61

Closed
stigkj opened this issue Sep 11, 2012 · 5 comments
Closed

Bad Request (400) from Jetty when accessing URL with no '/' at end #61

stigkj opened this issue Sep 11, 2012 · 5 comments

Comments

@stigkj
Copy link

stigkj commented Sep 11, 2012

Cannot connect to an URL without a '/' at the end, for example:

Debugged just a little bit, and I can see that the betamax Jetty handler is not called for the first case. Not sure why, though.

Have you seen this before?

I tried both using Jersey and curl from the command line and got the same problem on both.

robfletcher added a commit that referenced this issue Sep 19, 2012
@robfletcher
Copy link
Collaborator

This is caused by JETTY-1553. It looks like there was a fix committed to a later version of Jetty.

Betamax has avoided upgrading Jetty since later versions introduced compatibility problems (particularly with Grails projects) caused by a breaking API change in SLF4J. I'll see if I can figure out what specific version fixed this issue & whether I can upgrade to it without breaking anything.

@robfletcher
Copy link
Collaborator

Well, it's not fixed in _ 7.6.5.v20120716_ which is the latest version of the Jetty 7 branch. Upgrading to Jetty 8 may be more problematic.

@robfletcher
Copy link
Collaborator

Oh boy. Jetty 8 means upgrading to Servlet 3.0 API (and I'm still not sure it will fix the problem)

@robfletcher
Copy link
Collaborator

Still not fixed in Jetty 8

@robfletcher
Copy link
Collaborator

This is fixed by moving from Jetty to Netty – #66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants