projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
re-implement params serializer
[m6w6/ext-http]
/
tests
/
response003.phpt
diff --git
a/tests/response003.phpt
b/tests/response003.phpt
index 1e9e0abf6cfe48fedfad74ec1e2badc5a83b3e5d..8331e0f8c721cb1c2759c17c8ec4961cdf2a3358 100644
(file)
--- 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(
$r = new http\Env\Response;
$r->setContentType("text/plain");
$r->setContentDisposition(
- http\Env\Response::CONTENT_DISPOSITION_ATTACHMENT,
- basename(__FILE__)
+ array("attachment" => array("filename" => basename(__FILE__)))
);
$r->setBody(new http\Message\Body(fopen(__FILE__, "rb")));
$r->send();
);
$r->setBody(new http\Message\Body(fopen(__FILE__, "rb")));
$r->send();