servefile icon indicating copy to clipboard operation
servefile copied to clipboard

Allow text/plain view of the text files

Open KristianBalaj opened this issue 8 months ago • 0 comments

Right now, the functionality allows only the download of the files where the body of the HTTP response is empty. However, it would be useful to have the option for a file to be served with text/plain content type instead of downloading it.

I believe such functionality also has its place in this package and fits under the semantics of "serving a file".

KristianBalaj avatar May 25 '25 14:05 KristianBalaj