projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge branch 'v2.6.x'
[m6w6/ext-http]
/
tests
/
client011.phpt
diff --git
a/tests/client011.phpt
b/tests/client011.phpt
index 17c60ed61ec869b6b4bf8544e0e78f6e04c24b1a..59097420c72f5b35d63469a9d3fa588f4ed231af 100644
(file)
--- a/
tests/client011.phpt
+++ b/
tests/client011.phpt
@@
-4,6
+4,7
@@
client history
<?php
include "skipif.inc";
skip_online_test();
<?php
include "skipif.inc";
skip_online_test();
+skip_client_test();
?>
--FILE--
<?php
?>
--FILE--
<?php
@@
-31,13
+32,8
@@
echo $client->getHistory()->toString(true);
Done
--EXPECTF--
Test
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-Length: 6
-Content-Type: application/x-www-form-urlencoded
-X-Original-Content-Length: 6
foobar
HTTP/1.1 200 OK
foobar
HTTP/1.1 200 OK
@@
-50,13
+46,8
@@
Content-Length: 19
string(6) "foobar"
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-Length: 6
-Content-Type: application/x-www-form-urlencoded
-X-Original-Content-Length: 6
foobar
HTTP/1.1 200 OK
foobar
HTTP/1.1 200 OK
@@
-69,13
+60,8
@@
Content-Length: 19
string(6) "foobar"
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-Length: 6
-Content-Type: application/x-www-form-urlencoded
-X-Original-Content-Length: 6
foobar
HTTP/1.1 200 OK
foobar
HTTP/1.1 200 OK