* libs/httpd: Use HTTP/1.0 for error messages
This commit is contained in:
parent
215e225fe9
commit
5d9394a3d6
1 changed files with 1 additions and 1 deletions
|
@ -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" )
|
||||
|
|
Loading…
Reference in a new issue