Browse Source

Update Http.php

walkor 10 years ago
parent
commit
a0ff888458
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Protocols/Http.php

+ 1 - 1
Protocols/Http.php

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