summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorChristian Weber2010-06-05 11:42:26 +0000
committerChristian Weber2010-06-05 11:42:26 +0000
commit9c7a8a552851a43c6287c5f93650199aa5465412 (patch)
tree1fbdd5f2ddbb588c48533f9769a0f022a226693d /it_url.class
parent77d04fe9d6b1b784e9f9197ab308e09f184613ab (diff)
downloaditools-9c7a8a552851a43c6287c5f93650199aa5465412.tar.gz
itools-9c7a8a552851a43c6287c5f93650199aa5465412.tar.bz2
itools-9c7a8a552851a43c6287c5f93650199aa5465412.zip
document header param of it_url::get()
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class
index 5c13770..5db8d24 100644
--- a/it_url.class
+++ b/it_url.class
@@ -223,6 +223,7 @@ function is_reachable($timeout = 5)
* Get simple URL with timeout. Can be called statically
* @param $p parameter array with the following keys
* @param $p['url']: url to get, defaults to constructor URL
+ * @param $p['headers']: optional array of HTTP headers to send
* @param $p['timeout']: timeout per read in seconds, defaults to 5. fractions allowed
* @param $p['totaltimeout']: timeout for the whole function call
* @param $p['filemtime']: Add HTTP header to only fetch when newer than this, otherwise return true instead of data