- fix some tests on linux
[m6w6/ext-http] / tests / get_request_data_001.phpt
index ad2ee5a82edff20cc9337236de1e90e867aa1506..4d15265a3f90755cc17626a7cb03351cfed06252 100644 (file)
@@ -6,7 +6,9 @@ include 'skip.inc';
 ?>
 --ENV--
 HTTP_ACCEPT_CHARSET=iso-8859-1, *
+HTTP_ACCEPT_ENCODING=none
 HTTP_USER_AGENT=Mozilla/5.0
+HTTP_HOST=localhost
 --POST--
 a=b&c=d
 --FILE--
@@ -26,6 +28,8 @@ if (php_sapi_name() == 'cli' || $b == 'a=b&c=d') {
 Array
 (
     [Accept-Charset] => iso-8859-1, *
+    [Accept-Encoding] => none
+    [Host] => localhost
     [User-Agent] => Mozilla/5.0
 )
 OK