stub for HEAD support
authorChuck Hagenbuch <chuck@horde.org>
Wed, 21 Jan 2009 18:37:00 +0000 (13:37 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Wed, 21 Jan 2009 18:37:00 +0000 (13:37 -0500)
framework/Http_Client/lib/Horde/Http/Client.php

index 6563967..3470be3 100644 (file)
@@ -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.)