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
Add CORS headers to rewrite proxy responses #132
Comments
Hi, thanks for the report. Yes, CORS headers should be added in this case - I will look into it. |
I'm not 100% clear what the issue is here. Your browser made a request to What exactly do you expect to see in the reponse to |
@75b I was trying if
Providing CORS headers for proxied requests would be a useful feature. Especially because you get the CORS implementation right on contrary to most CORS proxies on docker hub that use an origin wildcard |
Sorry, I haven't had time to action this yet so I will give you instructions on how to test a solution yourself.
When you have fixed the remote request headers, please let me know how you fixed it. Speak soon! |
@iki did you resolve this in the end? |
@75lb I used the nginx solution in meantime, but I can test your solution later this week and send a PR |
Currently the preflight request is served with correct CORS headers for given origin, but the proxied request response is passed without them.
Would it be possible to use the CORS middleware on proxied requests too?
The text was updated successfully, but these errors were encountered: