- fixed message chain order in HttpRequest::getHistory()
[m6w6/ext-http] / tests / HttpRequest_007.phpt
index 96160af3db1cb89d2cf16c5754b08f4b41094274..1f31404af3f6cdccbfbfab3da77d5d76423a3758 100644 (file)
@@ -19,14 +19,13 @@ echo "Done\n";
 ?>
 --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
+Expect: 100-continue
 
 <?php
 echo "-TEST\n";
@@ -41,13 +40,14 @@ echo "Done\n";
 ?>
 
 HTTP/1.1 100 Continue
-PUT /.print_put.php5 HTTP/1.1
-User-Agent: PECL::HTTP/%s
-Host: dev.iworks.at
-Accept: */*
-Content-Type: text/plain
+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
-Expect: 100-continue
 
 <?php
 echo "-TEST\n";
@@ -63,4 +63,3 @@ echo "Done\n";
 
 "
 Done
-