From 7bcbfb91a9e94b0336051ccf926d219489f5b800 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 22 May 2015 08:10:58 +0200 Subject: php-pecl-http: 2.5.0RC1 --- bug69313.phpt | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 bug69313.phpt (limited to 'bug69313.phpt') diff --git a/bug69313.phpt b/bug69313.phpt deleted file mode 100644 index 824918c..0000000 --- a/bug69313.phpt +++ /dev/null @@ -1,46 +0,0 @@ ---TEST-- -Bug #69313 (http\Client doesn't send GET body) ---SKIPIF-- - ---FILE-- -setHeader("Content-Type", "text/plain"); - $request->getBody()->append("foo"); - $client = new http\Client(); - $client->enqueue($request); - $client->send(); - echo $client->getResponse(); -}); - -?> - -Done ---EXPECTF-- -Test -HTTP/1.1 200 OK -Accept-Ranges: bytes -Etag: "%s" -X-Original-Transfer-Encoding: chunked -Content-Length: %d - -GET / HTTP/1.1 -User-Agent: %s -Host: localhost:%d -Accept: */* -Content-Type: text/plain -Content-Length: 3 -X-Original-Content-Length: 3 - -foo -Done -- cgit