From: Michael Wallner Date: Thu, 19 Feb 2015 19:34:31 +0000 (+0100) Subject: minor C-L bug in older libcurl X-Git-Tag: RELEASE_2_3_0~8 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=57476a6466e4f3c41cdf359568e2b3722a33c373;p=m6w6%2Fext-http minor C-L bug in older libcurl --- diff --git a/tests/client025.phpt b/tests/client025.phpt index 866cd2e..3c4793e 100644 --- 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===