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

e-publishing file download #35

Open
jnehring opened this issue Jul 28, 2015 · 4 comments
Open

e-publishing file download #35

jnehring opened this issue Jul 28, 2015 · 4 comments

Comments

@jnehring
Copy link
Member

The try-it-out button on e-Publishing should trigger a file download instead of displaying the binary data as text.

@ArneBinder
Copy link
Contributor

swagger-ui initiates a file download only if the header field 'Content-Disposition' contains the values 'attachment' or 'File Transfer' see
@jnehring Would it be possible to modify broker.eservices.ePublishing.htmlToEPub and add this header field there manually?

jnehring added a commit to freme-project/Broker that referenced this issue Jul 28, 2015
@jnehring
Copy link
Member Author

I changed it on freme-dev. Please check if file download works.

@ArneBinder
Copy link
Contributor

@jnehring Sorry, my mistake: "Content-Disposition" has to have "attachment" or "Content-Description" "File Transfer"

jnehring added a commit to freme-project/Broker that referenced this issue Jul 28, 2015
@jnehring
Copy link
Member Author

We will keep this issue for later.

jnehring added a commit to freme-project/Broker that referenced this issue Jul 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants