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

Can not change Content-Disposition and Content-Type header if file descriptor used #223

Open
RiceWithMeat opened this issue Jan 24, 2025 · 0 comments · May be fixed by #224
Open

Can not change Content-Disposition and Content-Type header if file descriptor used #223

RiceWithMeat opened this issue Jan 24, 2025 · 0 comments · May be fixed by #224
Assignees
Labels
bug Something isn't working

Comments

@RiceWithMeat
Copy link
Collaborator

RiceWithMeat commented Jan 24, 2025

If send file using file property, Content-Disposition and Content-Type header changes in interceptors is ignored. Need to set header only if header was not set before.

@RiceWithMeat RiceWithMeat added the bug Something isn't working label Jan 24, 2025
@RiceWithMeat RiceWithMeat self-assigned this Jan 24, 2025
@RiceWithMeat RiceWithMeat changed the title Can not change Content-Disposition header if file descriptor used Can not change Content-Disposition and Content-Type header if file descriptor used Jan 24, 2025
RiceWithMeat added a commit that referenced this issue Jan 24, 2025
…y was set before in response interceptor, test for this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant