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
Update to Jersey 2.x #485
Update to Jersey 2.x #485
Conversation
@@ -725,7 +722,8 @@ private String getRequestedObjectType(final String mixin, final MediaType reques | |||
* @return response | |||
*/ | |||
@POST | |||
@Consumes(MediaType.MULTIPART_FORM_DATA) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This thing confuses me. There's something screwy with the way Jersey 2 picks between methods that share the same verb when a request without a Content-Type is received. In the last attempt, we just commented out the method. I suggest we should kill it entirely. I think it's only here to support a javascript-less admin UI.
@barmintor, @ajs6f ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved with a hack.
e12116a
to
be2452c
Compare
Fixed in master. |
https://www.pivotaltracker.com/story/show/52200823