projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
ee1e283
)
update expectations how history requests look like
author
Michael Wallner
<mike@php.net>
Wed, 4 Feb 2015 10:54:36 +0000
(11:54 +0100)
committer
Michael Wallner
<mike@php.net>
Wed, 4 Feb 2015 10:54:36 +0000
(11:54 +0100)
tests/client011.phpt
patch
|
blob
|
history
diff --git
a/tests/client011.phpt
b/tests/client011.phpt
index 17c60ed61ec869b6b4bf8544e0e78f6e04c24b1a..284edb25d10dac448cbd7230c328510373b02e06 100644
(file)
--- a/
tests/client011.phpt
+++ b/
tests/client011.phpt
@@
-31,13
+31,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
+45,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
+59,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