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
Setting response header with JAX-RS does not work. #739
Comments
Hello Mark, I notice that the fix consist in providing extra headers using a specific attribute of the jax-rs response builder.
I guess this is not your preferred way to add headers. You would like to use the JAX-RS API :
Am I wrong? Best regards, |
You are absolutely correct. I expect it to work the JAX-RS way. |
…response. Reported by Mark Kharitonov.
…response. Reported by Mark Kharitonov.
Hello Mark, Best regards, |
Excellent. Thank you very much. |
Hello.
The bug is already described here - http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2725278
In short, it is impossible to set a response header in the current implementation of JAX-RS - the headers are simply ignored.
The text was updated successfully, but these errors were encountered: