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

rest: consider using a different content-type for text files #456

Open
mdonadoni opened this issue Jun 17, 2022 · 0 comments
Open

rest: consider using a different content-type for text files #456

mdonadoni opened this issue Jun 17, 2022 · 0 comments

Comments

@mdonadoni
Copy link
Member

mdonadoni commented Jun 17, 2022

[...] Looks like the return "Content-type" is always "application/octet-stream" for text, python, and JSON in web UI. Images and HTML files are fine. [...]

Originally posted by @VMois in #455 (review)

We should consider using either text/plain or the correct mime type for text files such as Python files, plain text files, and YAML/JSON files. This is the function that chooses the content-type for the files that need to be downloaded.

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