aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/server.lua
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
commitbecd794524489f5888069d1dc6612600e7d7a80e (patch)
tree0ff5c380a61d07947466ddd70b1510c79e0718e3 /net/http/server.lua
parentcc13a475a6010a301fb92f14e3120d41dfc45214 (diff)
downloadprosody-becd794524489f5888069d1dc6612600e7d7a80e.tar.gz
prosody-becd794524489f5888069d1dc6612600e7d7a80e.zip
net.http.server: Missing <title/> in 404 Not Found response.
Diffstat (limited to 'net/http/server.lua')
-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