From echicken@VERT/ECBBS to poindexter FORTRAN on Sunday, September 22, 2019 11:19:24
Re: Web Server Rendering text
By: poindexter FORTRAN to All on Sun Sep 22 2019 06:59:00
If I click on a test document, I'm prompted to download the file.
Instead, I'd like to render it in the browser window. is this a
function of the web server or the browser?
It's likely down to some header values set by my script on the server. It has no way of knowing which types of files are displayable in a browser, so right now it just tells the browser to save the contents as a file every time. There are better ways of dealing with this, but I'd have to spend some time implementing something.