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