summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 59ee4af..f37bf97 100644
--- a/it_url.class
+++ b/it_url.class
@@ -95,7 +95,7 @@ static function _postprocess($data, $p)
* @param $p parameter array with the following keys
* @param $p['url'] url to get, defaults to constructor URL
* @param $p['assoc'] Return [ 'data' => string, 'status' => int, 'cookies' => array, 'headers' => array, 'errstr' => string ] instead of just data
- * @param $p['headers'] optional associative array of HTTP headers to send
+ * @param $p['headers'] optional assoc array of HTTP headers to send, e.g. ['Host' => "foo"]
* @param $p['safety'] DEPRECATED. 0 = ignore errors, 1 = errors, 2 = fatals
* @param $p['it_error'] extra arguments for it_error or false to ignore errors
* @param $p['timeout'] inactivity timeout seconds, default 5. fractions ok. silent by default