Procházet zdrojové kódy

Lua script http keep-alive test 1: Set content length

bel před 11 roky
rodič
revize
dd17fd91fb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      test/page_keep_alive.lua

+ 1 - 1
test/page_keep_alive.lua

@@ -14,7 +14,7 @@ else
 end
 
 -- First send the http headers
-mg.write("HTTP/1.0 200 OK\r\n")
+mg.write("HTTP/1.1 200 OK\r\n")
 mg.write("Content-Type: text/html\r\n")
 mg.write("Date: " .. os.date("!%a, %d %b %Y %H:%M:%S") .. " GMT\r\n")