aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-04-21 17:37:00 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-04-21 17:37:00 +0500
commit4c43038f7494c0800c27ff198a931b92e63c02d1 (patch)
tree0ff5c380a61d07947466ddd70b1510c79e0718e3 /net
parentd710b38313d0bab66d0c10153fbe9062b1f3c373 (diff)
downloadprosody-4c43038f7494c0800c27ff198a931b92e63c02d1.tar.gz
prosody-4c43038f7494c0800c27ff198a931b92e63c02d1.zip
net.http.server: Missing <title/> in 404 Not Found response.
Diffstat (limited to 'net')
-rw-r--r--net/http/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index 788f046b..feb8f766 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -203,7 +203,7 @@ function _M.legacy_handler(request, response)
log("debug", "No handler found");
response.status_code = 404;
response.headers.content_type = "text/html";
- response:send("<html><head>404 Not Found</head><body>404 Not Found: No such page.</body></html>");
+ response:send("<html><head><title>404 Not Found</title></head><body>404 Not Found: No such page.</body></html>");
end
end