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

Update to Jersey 2.x #485

Closed
wants to merge 13 commits into from
Closed

Update to Jersey 2.x #485

wants to merge 13 commits into from

Conversation

cbeer
Copy link
Contributor

@cbeer cbeer commented Sep 23, 2014

@@ -725,7 +722,8 @@ private String getRequestedObjectType(final String mixin, final MediaType reques
* @return response
*/
@POST
@Consumes(MediaType.MULTIPART_FORM_DATA)
Copy link
Contributor Author

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 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved with a hack.

@cbeer cbeer force-pushed the jersey-2x branch 4 times, most recently from e12116a to be2452c Compare September 23, 2014 20:55
@cbeer
Copy link
Contributor Author

cbeer commented Sep 24, 2014

Fixed in master.

@cbeer cbeer closed this Sep 24, 2014
@cbeer cbeer deleted the jersey-2x branch October 17, 2014 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants