projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- allow requests for compressed content even if neither curl nor ext/http
[m6w6/ext-http]
/
tests
/
get_request_data_001.phpt
diff --git
a/tests/get_request_data_001.phpt
b/tests/get_request_data_001.phpt
index ad2ee5a82edff20cc9337236de1e90e867aa1506..4d15265a3f90755cc17626a7cb03351cfed06252 100644
(file)
--- a/
tests/get_request_data_001.phpt
+++ b/
tests/get_request_data_001.phpt
@@
-6,7
+6,9
@@
include 'skip.inc';
?>
--ENV--
HTTP_ACCEPT_CHARSET=iso-8859-1, *
?>
--ENV--
HTTP_ACCEPT_CHARSET=iso-8859-1, *
+HTTP_ACCEPT_ENCODING=none
HTTP_USER_AGENT=Mozilla/5.0
HTTP_USER_AGENT=Mozilla/5.0
+HTTP_HOST=localhost
--POST--
a=b&c=d
--FILE--
--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, *
Array
(
[Accept-Charset] => iso-8859-1, *
+ [Accept-Encoding] => none
+ [Host] => localhost
[User-Agent] => Mozilla/5.0
)
OK
[User-Agent] => Mozilla/5.0
)
OK