X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fresponse003.phpt;h=f83df3b8656f1a3d28579ec6d865d66c9586913b;hb=6cc24086f57aa1e8f4d6a2c12361635e7c24f60f;hp=1e9e0abf6cfe48fedfad74ec1e2badc5a83b3e5d;hpb=61067d19cf03ad876954c2644ff9e37942b2ad67;p=m6w6%2Fext-http diff --git a/tests/response003.phpt b/tests/response003.phpt index 1e9e0ab..f83df3b 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__) + ["attachment" => ["filename" => basename(__FILE__)]] ); $r->setBody(new http\Message\Body(fopen(__FILE__, "rb"))); $r->send();