Update Node, Closure and JSLint.

This commit is contained in:
Jos van den Oever
2012-06-06 10:16:25 +02:00
parent 2471abe837
commit e6b00eed80
5 changed files with 303 additions and 295 deletions
+2
View File
@@ -132,6 +132,8 @@ http.createServer(function (request, response) {
} else if (filename.substr(-4) === ".odp" ||
filename.substr(-5) === ".fodp") {
head["Content-Type"] = "application/vnd.oasis.opendocument.spreadsheet";
} else if (filename.substr(-4) === ".txt") {
head["Content-Type"] = "text/plain; charset=utf-8";
}
response.writeHead(200, head);
if (request.method !== "HEAD") {