diff options
author | Steven Barth <steven@midlink.org> | 2008-06-17 16:23:42 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-17 16:23:42 +0000 |
commit | 304ce583c7f2ba53bdef1438368519aba5fef79d (patch) | |
tree | 1974397cfc1585c42c651c9f73dfb71fc283839e /libs | |
parent | 71beb64a228c1581306c22eef4b59c9594c586ae (diff) |
* Use CRLF instead of LF in HTTP headers
Diffstat (limited to 'libs')
-rw-r--r-- | libs/httpd/luasrc/httpd/module.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/httpd/luasrc/httpd/module.lua b/libs/httpd/luasrc/httpd/module.lua index bb22798fe3..4bf697744b 100644 --- a/libs/httpd/luasrc/httpd/module.lua +++ b/libs/httpd/luasrc/httpd/module.lua @@ -92,13 +92,13 @@ function Handler.process(self, request, sourcein, sinkout, sinkerr) -- Print status and headers - sinkout("HTTP/1.1 " .. response.status .. " " .. statusmsg[response.status] .. "\n") + sinkout("HTTP/1.1 " .. response.status .. " " .. statusmsg[response.status] .. "\r\n") for k, v in pairs(response.headers) do - sinkout(k .. ": " .. v .. "\n") + sinkout(k .. ": " .. v .. "\r\n") end -- End of Headers - sinkout("\n") + sinkout("\r\n") -- Pump content if sourceout then |