projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
release 1.7.5
[m6w6/ext-http]
/
tests
/
HttpRequest_007.phpt
diff --git
a/tests/HttpRequest_007.phpt
b/tests/HttpRequest_007.phpt
index f440c83d2776b7e6a7a7916bfeb7958edd9822c5..8989de1b8699fda8d4aba79d4d894d24d908b896 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,12
+41,12
@@
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
Vary: Accept-Encoding
Vary: Accept-Encoding
-Content-Length: %d
Content-Type: text/html
Content-Type: text/html
+X-Original-Transfer-Encoding: chunked
+Content-Length: %d
<?php
echo "-TEST\n";
<?php
echo "-TEST\n";