Explorar o código

Update Http.php

walkor %!s(int64=10) %!d(string=hai) anos
pai
achega
7e8fecc2cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Protocols/Http.php

+ 1 - 1
Protocols/Http.php

@@ -72,7 +72,7 @@ class Http
         $_POST = $_GET = $_COOKIE = $_REQUEST = $_SESSION = $_FILES =  array();
         $_POST = $_GET = $_COOKIE = $_REQUEST = $_SESSION = $_FILES =  array();
         $GLOBALS['HTTP_RAW_POST_DATA'] = '';
         $GLOBALS['HTTP_RAW_POST_DATA'] = '';
         // 清空上次的数据
         // 清空上次的数据
-        HttpCache::$header = array();
+        HttpCache::$header = array('Connection'=>'keep-alive');
         HttpCache::$instance = new HttpCache();
         HttpCache::$instance = new HttpCache();
         // 需要设置的变量名
         // 需要设置的变量名
         $_SERVER = array (
         $_SERVER = array (