X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fnegotiation_001.phpt;fp=tests%2Fnegotiation_001.phpt;h=88e6ec45b164986e3cd5e38fee515150fbaefdb3;hp=0000000000000000000000000000000000000000;hb=5efb94c93bc4c1d4873706958962acc4313477f3;hpb=8d78b6be2a598365596b03b39d2983e2ed639bb8 diff --git a/tests/negotiation_001.phpt b/tests/negotiation_001.phpt new file mode 100644 index 0000000..88e6ec4 --- /dev/null +++ b/tests/negotiation_001.phpt @@ -0,0 +1,38 @@ +--TEST-- +negotiation +--SKIPIF-- + +--ENV-- +HTTP_ACCEPT_LANGUAGE=de-AT,de-DE;q=0.8,en-GB;q=0.3,en-US;q=0.2 +HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7 +--FILE-- + 500 + [en] => 0.15 +) +string(10) "iso-8859-1" +Array +( + [iso-8859-1] => 1000 + [utf-8] => 0.7 +) +Done