LPS-39488 Document with a title that has no file extension downloaded without the extension
LPS-39488 Source formatting (same logic as in WebServerServlet.java)
LPS-39488 Source formatting to make code more consistent