--- /dev/null
+-- reflect the request information as JSON\r
+json = require "json"\r
+\r
+response = json.encode(mg.request_info)\r
+\r
+mg.response.status = 200\r
+mg.response.http_headers["Content-Type"] = "application/json; charset=utf-8";\r
+mg.response.http_headers["Content-Length"] = #response;\r
+mg.response.send()\r
+mg.write(response)\r