X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fnegotiate001.phpt;h=0e553f50154e418a2e50531d1ceb91e0e5a9a670;hp=d7bd755d300733b245c26168e8a06feacf758aed;hb=3db1f1fe45ab051a57f70f637618e02f7985406e;hpb=40b8f999b7705c5474030aa67530a8b293f9ea8c diff --git a/tests/negotiate001.phpt b/tests/negotiate001.phpt index d7bd755..0e553f5 100644 --- a/tests/negotiate001.phpt +++ b/tests/negotiate001.phpt @@ -49,6 +49,14 @@ echo "$ln: "; print_r($lnr); $ln = http\Env::negotiateLanguage(array("nl", "fr", "en"), $lnr); echo "$ln: "; print_r($lnr); ?> + +CUSTOM + + DONE --EXPECT-- CONTENT TYPE @@ -108,4 +116,13 @@ en: Array ( [en] => 0.8 ) + +CUSTOM + +a.b: Array +( + [a.b] => 0.9 + [a.x] => 0.1 + [c.e] => 0.1 +) DONE