|
From: Jürgen Z. <Jue...@HS...> - 2008-05-28 05:51:28
|
A resource's method is annotated with @ProduceMime({"text/xml",
"text/plain"}).
The HTTP client has a header with "Accept" being set to
"application/json".
Now there are differences in Resteasy and Jersey:
- Resteasy returns the status code 405 (METHOD NOT ALLOWED)
- Jersey returns 406 (NOT ACCEPTABLE)
Which one is correct?
|