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 'master' of git.php.net:/pecl/http/pecl_http
[m6w6/ext-http]
/
tests
/
client025.phpt
diff --git
a/tests/client025.phpt
b/tests/client025.phpt
index 866cd2e1502f8e0fa629dac64f40b17ed693c0f5..3c4793e96b5793a5a2b25f31fa1c80e4b59b7c7f 100644
(file)
--- a/
tests/client025.phpt
+++ b/
tests/client025.phpt
@@
-18,7
+18,7
@@
server("proxy.inc", function($port) {
$request->getBody()->append("123");
echo $client->enqueue($request)->send()->getResponse();
});
$request->getBody()->append("123");
echo $client->enqueue($request)->send()->getResponse();
});
-
+// Content-length is 2 instead of 3 in older libcurls
?>
===DONE===
--EXPECTF--
?>
===DONE===
--EXPECTF--
@@
-34,8
+34,8
@@
Content-Range: bytes 1-2/3
User-Agent: %s
Host: localhost:%d
Accept: */*
User-Agent: %s
Host: localhost:%d
Accept: */*
-Content-Length:
3
+Content-Length:
%d
Expect: 100-continue
Expect: 100-continue
-X-Original-Content-Length:
3
+X-Original-Content-Length:
%d
23===DONE===
23===DONE===