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

wraping file content #8

Closed
cevro opened this issue Apr 3, 2016 · 3 comments
Closed

wraping file content #8

cevro opened this issue Apr 3, 2016 · 3 comments
Assignees

Comments

@cevro
Copy link
Member

cevro commented Apr 3, 2016

Wrap file content as

.
CSS: white-space: pre;

@Werkov
Copy link
Member

Werkov commented Apr 3, 2016

Does it relate to issue #7? The problem is that the files are display by simply sending the raw content of the file in the HTTP response (thus you can directly open e.g. PDFs in the broswer). If you meant something different, please extend your reasoning. Thanks.

@cevro
Copy link
Member Author

cevro commented Apr 4, 2016

sending the raw content of the file in the HTTP response

Great idea, but except .tex .pdf .csv is sendig file content as text/html.
It would not be better if it sends text/plain?

https://www.w3.org/Protocols/rfc1341/7_1_Text.html

@Werkov
Copy link
Member

Werkov commented Apr 12, 2016

Please see my comment at #7 and close this issue if you are fine with that.

@cevro cevro closed this as completed Apr 12, 2016
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