fix tests
[m6w6/ext-http] / tests / client011.phpt
index 17c60ed61ec869b6b4bf8544e0e78f6e04c24b1a..59097420c72f5b35d63469a9d3fa588f4ed231af 100644 (file)
@@ -4,6 +4,7 @@ client history
 <?php 
 include "skipif.inc";
 skip_online_test();
+skip_client_test();
 ?>
 --FILE--
 <?php 
@@ -31,13 +32,8 @@ echo $client->getHistory()->toString(true);
 Done
 --EXPECTF--
 Test
-POST /ext-http/.print_request.php HTTP/1.1
-User-Agent: %s
-Host: dev.iworks.at
-Accept: */*
+POST http://dev.iworks.at/ext-http/.print_request.php HTTP/1.1
 Content-Length: 6
-Content-Type: application/x-www-form-urlencoded
-X-Original-Content-Length: 6
 
 foobar
 HTTP/1.1 200 OK
@@ -50,13 +46,8 @@ Content-Length: 19
 
 string(6) "foobar"
 
-POST /ext-http/.print_request.php HTTP/1.1
-User-Agent: %s
-Host: dev.iworks.at
-Accept: */*
+POST http://dev.iworks.at/ext-http/.print_request.php HTTP/1.1
 Content-Length: 6
-Content-Type: application/x-www-form-urlencoded
-X-Original-Content-Length: 6
 
 foobar
 HTTP/1.1 200 OK
@@ -69,13 +60,8 @@ Content-Length: 19
 
 string(6) "foobar"
 
-POST /ext-http/.print_request.php HTTP/1.1
-User-Agent: %s
-Host: dev.iworks.at
-Accept: */*
+POST http://dev.iworks.at/ext-http/.print_request.php HTTP/1.1
 Content-Length: 6
-Content-Type: application/x-www-form-urlencoded
-X-Original-Content-Length: 6
 
 foobar
 HTTP/1.1 200 OK