summaryrefslogtreecommitdiffhomepage
path: root/libs/httpd
diff options
context:
space:
mode:
Diffstat (limited to 'libs/httpd')
-rw-r--r--libs/httpd/luasrc/httpd/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/httpd/luasrc/httpd/server.lua b/libs/httpd/luasrc/httpd/server.lua
index 181ca24a19..1b54b30f21 100644
--- a/libs/httpd/luasrc/httpd/server.lua
+++ b/libs/httpd/luasrc/httpd/server.lua
@@ -90,7 +90,7 @@ end
function Server.error(self, socket, code, msg)
hcode = tostring(code)
- socket:send( "HTTP/1.1 " .. hcode .. " " ..
+ socket:send( "HTTP/1.0 " .. hcode .. " " ..
luci.http.protocol.statusmsg[code] .. "\r\n" )
socket:send( "Connection: close\r\n" )
socket:send( "Content-Type: text/plain\r\n\r\n" )