projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
http2 test
[m6w6/ext-http]
/
tests
/
client011.phpt
diff --git
a/tests/client011.phpt
b/tests/client011.phpt
index 188b1782afd73dde8f2ef6630e9c13a7a56b0329..59097420c72f5b35d63469a9d3fa588f4ed231af 100644
(file)
--- a/
tests/client011.phpt
+++ b/
tests/client011.phpt
@@
-3,6
+3,8
@@
client history
--SKIPIF--
<?php
include "skipif.inc";
--SKIPIF--
<?php
include "skipif.inc";
+skip_online_test();
+skip_client_test();
?>
--FILE--
<?php
?>
--FILE--
<?php
@@
-30,60
+32,45
@@
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
+Vary: %s
+Content-Type: text/html
Date: %s
Server: %s
Date: %s
Server: %s
-Vary: %s
+X-Original-Transfer-Encoding: chunked
Content-Length: 19
Content-Length: 19
-Content-Type: text/html
-X-Original-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
+Vary: %s
+Content-Type: text/html
Date: %s
Server: %s
Date: %s
Server: %s
-Vary: %s
+X-Original-Transfer-Encoding: chunked
Content-Length: 19
Content-Length: 19
-Content-Type: text/html
-X-Original-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
+Vary: %s
+Content-Type: text/html
Date: %s
Server: %s
Date: %s
Server: %s
-Vary: %s
+X-Original-Transfer-Encoding: chunked
Content-Length: 19
Content-Length: 19
-Content-Type: text/html
-X-Original-Content-Length: 19
string(6) "foobar"
string(6) "foobar"