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:
d58b926
)
minor C-L bug in older libcurl
author
Michael Wallner
<mike@php.net>
Thu, 19 Feb 2015 19:34:31 +0000
(20:34 +0100)
committer
Michael Wallner
<mike@php.net>
Thu, 19 Feb 2015 19:34:31 +0000
(20:34 +0100)
tests/client025.phpt
patch
|
blob
|
history
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();
});
-
+// Content-length is 2 instead of 3 in older libcurls
?>
===DONE===
--EXPECTF--
@@
-34,8
+34,8
@@
Content-Range: bytes 1-2/3
User-Agent: %s
Host: localhost:%d
Accept: */*
-Content-Length:
3
+Content-Length:
%d
Expect: 100-continue
-X-Original-Content-Length:
3
+X-Original-Content-Length:
%d
23===DONE===