X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fnegotiation_001.phpt;h=3c2a6d0b2e9c8d4698be647a09d0a409eda5499b;hb=6df516595ca42f9b2bdcbb52c863c430fae450d4;hp=df42ff6c85f69b6c79a0e916783eccb3c89397b6;hpb=f0fefacf671ffdf395c92f4fe5a229140f8b8ce8;p=m6w6%2Fext-http diff --git a/tests/negotiation_001.phpt b/tests/negotiation_001.phpt index df42ff6..3c2a6d0 100644 --- a/tests/negotiation_001.phpt +++ b/tests/negotiation_001.phpt @@ -3,13 +3,15 @@ negotiation --SKIPIF-- +--ENV-- +HTTP_ACCEPT=application/xml, application/xhtml+xml, text/html ; q = .8 +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-- --EXPECTF-- -%sTEST +%aTEST string(2) "de" string(2) "de" string(10) "iso-8859-1" string(10) "iso-8859-1" string(21) "application/xhtml+xml" string(21) "application/xhtml+xml" +string(7) "unknown" +string(7) "unknown" +string(7) "unknown" Array ( [de] => 900