Jan K. Labanowski: Computational Portals for Chemistry  

Log File is plain/text

You can click on Log File which is a text file and you can look at it. Normally the browser would want to save this file to a disk, rather than displaying it, since extension .log is most likely not configured as a Text file in the browser properties. Moreover, while files appear as regular links, they do not point to a file (the file is in the user directory which is not located in the Web server document areas), but to a servlet. Servlet retrieves the file from under the protected user area and returns it to the browser. The servlet is actually quite smart and will not allow you to retrieve files of other people, since it checks if the canonical path to a file given as parameter starts from the directory associated with the authenticated user. Since servlet has full control over response headers, it also sets the right MIME type to Content-Type:.