X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2FHttpRequest_007.phpt;fp=tests%2FHttpRequest_007.phpt;h=f440c83d2776b7e6a7a7916bfeb7958edd9822c5;hp=1f31404af3f6cdccbfbfab3da77d5d76423a3758;hb=65cf6ca09489451473d9aba81f22895058403ca8;hpb=59a1d06f1498dd2aab19316b7f5405d76b4170e7 diff --git a/tests/HttpRequest_007.phpt b/tests/HttpRequest_007.phpt index 1f31404..f440c83 100644 --- a/tests/HttpRequest_007.phpt +++ b/tests/HttpRequest_007.phpt @@ -9,7 +9,7 @@ checkcls('HttpRequest'); recordHistory = true; $r->addHeaders(array('content-type' => 'text/plain')); $r->setPutFile(__FILE__); @@ -19,18 +19,18 @@ echo "Done\n"; ?> --EXPECTF-- %sTEST -string(%d) "PUT /.print_put.php5 HTTP/1.1 +string(%d) "PUT /ext-http/.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: %d Expect: 100-continue recordHistory = true; $r->addHeaders(array('content-type' => 'text/plain')); $r->setPutFile(__FILE__); @@ -45,14 +45,13 @@ Date: %s Server: %s X-Powered-By: %s Vary: Accept-Encoding +Content-Length: %d Content-Type: text/html -X-Original-Transfer-Encoding: chunked -Content-Length: 281 recordHistory = true; $r->addHeaders(array('content-type' => 'text/plain')); $r->setPutFile(__FILE__);