summaryrefslogtreecommitdiff
path: root/js/bin/HttpServer.js
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2015-12-17 11:45:27 -0800
committerMark Spruiell <mes@zeroc.com>2015-12-17 11:45:27 -0800
commit884e2be89b0cd997f372c59f05bf05a9a5372b60 (patch)
tree53d2123abf22042f827d0e83b6093cea038c3b3a /js/bin/HttpServer.js
parentMerge branch '3.6' (diff)
downloadice-884e2be89b0cd997f372c59f05bf05a9a5372b60.tar.bz2
ice-884e2be89b0cd997f372c59f05bf05a9a5372b60.tar.xz
ice-884e2be89b0cd997f372c59f05bf05a9a5372b60.zip
Fixes for Bluetooth plug-ins.
Updates to testsuite to support Bluetooth and remote servers.
Diffstat (limited to 'js/bin/HttpServer.js')
-rw-r--r--js/bin/HttpServer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/bin/HttpServer.js b/js/bin/HttpServer.js
index aced89162f5..4d2d1311e9e 100644
--- a/js/bin/HttpServer.js
+++ b/js/bin/HttpServer.js
@@ -111,7 +111,7 @@ function Init()
res.writeHead(302, {"Location": location});
res.end();
- console.log("HTTP/302 (Redierct) -> " + location);
+ console.log("HTTP/302 (Redirect) -> " + location);
}
else
{
@@ -167,7 +167,7 @@ function Init()
var ext = path.extname(filePath).slice(1);
//
- // When the browser ask for a .js or .css file and it has support for gzip content
+ // When the browser asks for a .js or .css file and it has support for gzip content
// check if a gzip version (.js.gz or .css.gz) of the file exists and use that instead.
//
if((ext == "js" || ext == "css" || ext == "map") && req.headers["accept-encoding"].indexOf("gzip") !== -1)