X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fresponse003.phpt;h=d2f91c1e59b30eeec3a9558f675ef506dd67bc97;hb=a58a67d529ad662546ec8144226042c7e150c163;hp=8331e0f8c721cb1c2759c17c8ec4961cdf2a3358;hpb=d5de4f9eae86ae1dab0f8a906bf9543710ae124d;p=m6w6%2Fext-http diff --git a/tests/response003.phpt b/tests/response003.phpt index 8331e0f..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( - array("attachment" => array("filename" => basename(__FILE__))) + array("attachment" => array(array("filename" => basename(__FILE__)))) ); $r->setBody(new http\Message\Body(fopen(__FILE__, "rb"))); $r->send();