From: Chuck Hagenbuch Date: Wed, 21 Jan 2009 18:37:00 +0000 (-0500) Subject: stub for HEAD support X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2a869bc8d1e9ad020a3f2071d72474b28cb87bc2;p=horde.git stub for HEAD support --- diff --git a/framework/Http_Client/lib/Horde/Http/Client.php b/framework/Http_Client/lib/Horde/Http/Client.php index 6563967a8..3470be3b0 100644 --- a/framework/Http_Client/lib/Horde/Http/Client.php +++ b/framework/Http_Client/lib/Horde/Http/Client.php @@ -160,6 +160,17 @@ class Horde_Http_Client } /** + * Send a HEAD request + * @TODO + * + * @return ? Probably just the status + */ + public function head($uri = null, $headers = array()) + { + return $this->request('HEAD', $uri, null, $headers); + } + + /** * Send an HTTP request * * @param string $method HTTP request method (GET, PUT, etc.)