X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fresponse003.phpt;h=d2f91c1e59b30eeec3a9558f675ef506dd67bc97;hb=a58a67d529ad662546ec8144226042c7e150c163;hp=f83df3b8656f1a3d28579ec6d865d66c9586913b;hpb=bd5941c913f187accbbf02700b5bb48fc912a28e;p=m6w6%2Fext-http diff --git a/tests/response003.phpt b/tests/response003.phpt index f83df3b..d2f91c1 100644 --- a/tests/response003.phpt +++ b/tests/response003.phpt @@ -12,7 +12,7 @@ a=b $r = new http\Env\Response; $r->setContentType("text/plain"); $r->setContentDisposition( - ["attachment" => ["filename" => basename(__FILE__)]] + array("attachment" => array(array("filename" => basename(__FILE__)))) ); $r->setBody(new http\Message\Body(fopen(__FILE__, "rb"))); $r->send();