Skip to content

Remove Content-Disposition header #634

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

Closed
prondzyn opened this issue Apr 30, 2020 · 1 comment
Closed

Remove Content-Disposition header #634

prondzyn opened this issue Apr 30, 2020 · 1 comment

Comments

@prondzyn
Copy link

Is your feature request related to a problem? Please describe.
Currently (version 1.3.6) I'm getting inline;filename=f.txt set in Content-Disposition header. I think it is redundant. For me, it is a bit problematic, because when I'm trying to save the response in Postman, the header is taken into account and f.txt name is suggested.

Describe the solution you'd like
I would like not to have Content-Disposition header set in the response.

Describe alternatives you've considered
Alternatively, the Content-Disposition header could contain more meaningful name like inline;filename=$URL.json or inline;filename=$URL.yaml depending on the docs URL.

@bnasslahsen
Copy link
Collaborator

@prondzyn,

This is related to #633, It's handled by spring directly, and not springdoc-openapi. Same remarks as #633, before opening new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants