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

Cannot set response header from within repository methods #854

Open
mlehmannm opened this issue Sep 14, 2022 · 2 comments
Open

Cannot set response header from within repository methods #854

mlehmannm opened this issue Sep 14, 2022 · 2 comments

Comments

@mlehmannm
Copy link

I can access request header (Accept-Language) by implementing HttpRequestContextAware in my repository class.
I try to set response headers (Content-Language), but JsonApiRequestProcessor does not copy those response headers to the final http response.
Is there another way to achieve that?

@mlehmannm mlehmannm mentioned this issue Sep 14, 2022
@mlehmannm
Copy link
Author

The pull request has been updated. It should build now. #855

@lgringo
Copy link

lgringo commented Sep 28, 2022

👍 Hi, thanks for the PR. Hope it will be merged soon. Is there anything that can be done to help ?

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

No branches or pull requests

2 participants