Jakub Narebski <jnareb@xxxxxxxxx> writes: > Use 'text/plain' for files which are text and can be viewed in a > browser, and are not among a few 'text/*' mimetypes universally > recognized by web browsers. This means files with 'text/*' which are > not text/html, text/css, text/sgml or text/xml, and files with > 'application/x-*' mimetype which are nevertheless text: javascript, > shell, Perl, Tcl, (La)TeX,... > > Signed-off-by: Jakub Narebski <jnareb@xxxxxxxxx> > --- > Tired of my web browser (Mozilla) asking me what I want to do with > shell script, Perl script or LaTeX document when using 'blob_plain' > (raw) view,... I admit that I share the irritation, but I've felt that solving it this way by discarding information is going backwards, and the kosher solution is to tell the browser what to do with these unknown mimetypes. Unfortunately this needs to be done by the user -- I do not think the server can. On the other hand, maybe the people who are browsing the plain view from the browser do not need to have the content marked as written in what programming language. I dunno. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html