projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- simplify
[m6w6/ext-http]
/
tests
/
HttpRequest_007.phpt
diff --git
a/tests/HttpRequest_007.phpt
b/tests/HttpRequest_007.phpt
index 74ce5276744e5b081b7622e04fd7bd01720f4e9c..1f31404af3f6cdccbfbfab3da77d5d76423a3758 100644
(file)
--- a/
tests/HttpRequest_007.phpt
+++ b/
tests/HttpRequest_007.phpt
@@
-19,14
+19,13
@@
echo "Done\n";
?>
--EXPECTF--
%sTEST
?>
--EXPECTF--
%sTEST
-string(%d) "HTTP/1.1 200 OK
-Date: %s
-Server: Apache/%s
-X-Powered-By: PHP/5%s
-Vary: Accept-Encoding
-Content-Type: text/html
-X-Original-Transfer-Encoding: chunked
+string(%d) "PUT /.print_put.php5 HTTP/1.1
+User-Agent: PECL::HTTP/%s
+Host: dev.iworks.at
+Accept: */*
+Content-Type: text/plain
Content-Length: 281
Content-Length: 281
+Expect: 100-continue
<?php
echo "-TEST\n";
<?php
echo "-TEST\n";
@@
-40,13
+39,15
@@
var_dump($r->getHistory()->toString(true));
echo "Done\n";
?>
echo "Done\n";
?>
-PUT /.print_put.php5 HTTP/1.1
-User-Agent: PECL::HTTP/%s
-Host: dev.iworks.at
-Accept: */*
-Content-Type: text/plain
+HTTP/1.1 100 Continue
+HTTP/1.1 200 OK
+Date: %s
+Server: %s
+X-Powered-By: %s
+Vary: Accept-Encoding
+Content-Type: text/html
+X-Original-Transfer-Encoding: chunked
Content-Length: 281
Content-Length: 281
-Expect: 100-continue
<?php
echo "-TEST\n";
<?php
echo "-TEST\n";
@@
-62,4
+63,3
@@
echo "Done\n";
"
Done
"
Done
-