projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
allow setting of the message class used by HttpRequest
[m6w6/ext-http]
/
tests
/
HttpRequest_007.phpt
diff --git
a/tests/HttpRequest_007.phpt
b/tests/HttpRequest_007.phpt
index f440c83d2776b7e6a7a7916bfeb7958edd9822c5..067e36c477d702c95645e76e959b43130f8b8d78 100644
(file)
--- a/
tests/HttpRequest_007.phpt
+++ b/
tests/HttpRequest_007.phpt
@@
-18,9
+18,9
@@
var_dump($r->getHistory()->toString(true));
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
-%
s
TEST
+%
a
TEST
string(%d) "PUT /ext-http/.print_put.php5 HTTP/1.1
string(%d) "PUT /ext-http/.print_put.php5 HTTP/1.1
-User-Agent: PECL::HTTP/%
s
+User-Agent: PECL::HTTP/%
a
Host: dev.iworks.at
Accept: */*
Content-Type: text/plain
Host: dev.iworks.at
Accept: */*
Content-Type: text/plain
@@
-41,9
+41,9
@@
echo "Done\n";
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
-Date: %
s
-Server: %
s
-X-Powered-By: %
s
+Date: %
a
+Server: %
a
+X-Powered-By: %
a
Vary: Accept-Encoding
Content-Length: %d
Content-Type: text/html
Vary: Accept-Encoding
Content-Length: %d
Content-Type: text/html