From 0d14bf7cc87feabaa5ecc5cbcf6bd85bef8dbee0 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 20 Jul 2014 22:00:07 -0400 Subject: [PATCH] Update doc blocks. There were a few trailing comments in #3706 that have now been addressed. --- lib/Cake/Network/Http/HttpSocket.php | 6 +++--- lib/Cake/Test/Case/Network/Http/HttpSocketTest.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Network/Http/HttpSocket.php b/lib/Cake/Network/Http/HttpSocket.php index 937942a3f..d73128367 100644 --- a/lib/Cake/Network/Http/HttpSocket.php +++ b/lib/Cake/Network/Http/HttpSocket.php @@ -464,12 +464,12 @@ class HttpSocket extends CakeSocket { } /** - * Issues a HEAD request to the specified URI, query, and request. - * + * Issues a HEAD request to the specified URI, query, and request. + * * By definition HEAD request are identical to GET request except they return no response body. This means that all * information and examples relevant to GET also applys to HEAD. * - * @param string|array $uri URI to request. Either a string uri, or a uri array, see HttpSocket::_parseUri() + * @param string|array $uri URI to request. Either a string URI, or a URI array, see HttpSocket::_parseUri() * @param array $query Querystring parameters to append to URI * @param array $request An indexed array with indexes such as 'method' or uri * @return mixed Result of request, either false on failure or the response to the request. diff --git a/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php b/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php index 798b87048..4f7cb6e3f 100644 --- a/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php +++ b/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php @@ -1050,7 +1050,7 @@ class HttpSocketTest extends CakeTestCase { } /** - * testHead method + * Test the head method * * @return void */