summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
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