Skip to content

Conversation

@shockey
Copy link
Contributor

@shockey shockey commented Jan 20, 2018

This PR brings Swagger-UI's response rendering logic closer to how browsers handle responses: if Content-Disposition: attachment is set, the user agent should download the response as a file regardless to the content's type.

@shockey shockey merged commit efc1194 into swagger-api:master Jan 20, 2018
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

Successfully merging this pull request may close these issues.

Download link does not appear for files with openxmlformats content type Content-Disposition does not take precedence when rendering responses

1 participant