projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10c21eb
)
stub for HEAD support
author
Chuck Hagenbuch
<chuck@horde.org>
Wed, 21 Jan 2009 18:37:00 +0000
(13:37 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Wed, 21 Jan 2009 18:37:00 +0000
(13:37 -0500)
framework/Http_Client/lib/Horde/Http/Client.php
patch
|
blob
|
history
diff --git
a/framework/Http_Client/lib/Horde/Http/Client.php
b/framework/Http_Client/lib/Horde/Http/Client.php
index
6563967
..
3470be3
100644
(file)
--- 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.)