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
gf/net/ghttp/ghttp_response.go
Lines 89 to 94 in 8669512
As mentioned in axios/axios#895 and https://stackoverflow.com/questions/43912862/axios-expose-response-headers-content-disposition , the server side has to enable CORS-related feature for axios request to read Content-Disposition header, so the file can be downloaded with the given filename.
The text was updated successfully, but these errors were encountered:
fix: #3432 Add Access-Control-Expose-Headers: Content-Disposition hea…
3a9e0e3
…der in ServeFileDownload (#3433)
Successfully merging a pull request may close this issue.
gf/net/ghttp/ghttp_response.go
Lines 89 to 94 in 8669512
As mentioned in axios/axios#895 and https://stackoverflow.com/questions/43912862/axios-expose-response-headers-content-disposition , the server side has to enable CORS-related feature for axios request to read Content-Disposition header, so the file can be downloaded with the given filename.
The text was updated successfully, but these errors were encountered: