Show invalid requests (useful for debugging)

git-svn-id: file:///home/svn/framework3/trunk@12819 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore
2011-06-02 20:56:02 +00:00
parent d1ef28df1d
commit 8249ce243f
+1
View File
@@ -151,6 +151,7 @@ protected
return
else
print_status("#{cli.peerhost}:#{cli.peerport} Unknown request to #{req.relative_resource}...")
resp.code = 200
resp.message = "OK"
resp.body = "<h3>No site configured at this address</h3>"