We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using nginx.XAccelRedirectMiddleware any header which was originally set on the response is lost when the XAccelRedirectResponse is returned.
nginx.XAccelRedirectMiddleware
XAccelRedirectResponse
If any cache related header is meant to be set on per-request basis (ie: Etag) it is lost.
Etag
This also happens if using XSendfileResponse/apache.XSendfileMiddleware (since they use the same logic).
XSendfileResponse
apache.XSendfileMiddleware
It would be nice to have some options to enable these middleware to copy headers from the original response.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using
nginx.XAccelRedirectMiddleware
any header which was originally set on the response is lost when theXAccelRedirectResponse
is returned.If any cache related header is meant to be set on per-request basis (ie:
Etag
) it is lost.This also happens if using
XSendfileResponse
/apache.XSendfileMiddleware
(since they use the same logic).It would be nice to have some options to enable these middleware to copy headers from the original response.
The text was updated successfully, but these errors were encountered: