Open W2426566602 opened 3 months ago
header在Content里面吧。。
Had the exact issue, and it turned out to be related to CORs. If you are using asp.net WebAPI, consider exposing the response headers.
Please check your CORS settings and update this issue if it's relevant, many thanks. @agabadave thanks for your input
Describe the bug 🐞
When I use refit to access an API interface that returns a file stream, I use the browser developer tools to look at the response details, there is the file name in the response header, but when I process the response object in the code, the response header is empty
Step to reproduce
Reproduction repository
https://github.com/reactiveui/refit
Expected behavior
This should happen...
Screenshots 🖼️
No response
IDE
No response
Operating system
No response
Version
No response
Device
No response
Refit Version
No response
Additional information ℹ️
No response