summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2021-10-22 16:13:27 +0200
committerUrban Müller2021-10-22 16:13:27 +0200
commit30b098f5b0a80621d99b802f5e9ff20c7f656892 (patch)
tree87ab8807316045f9138dcd1b024ed0c84ad7db6d
parent109cb6fe1f95d8be01d002de323a7a54065b3c41 (diff)
downloaditools-30b098f5b0a80621d99b802f5e9ff20c7f656892.tar.gz
itools-30b098f5b0a80621d99b802f5e9ff20c7f656892.tar.bz2
itools-30b098f5b0a80621d99b802f5e9ff20c7f656892.zip
improve docs
-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