summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Flatz2025-07-09 16:00:29 +0200
committerDavid Flatz2025-07-09 16:00:29 +0200
commit2b36bfdd257e2f59e64413a976edec529c34f558 (patch)
tree02fe6e9873e0cb1009178bf111c49ad34784f724
parent807ddc4835ace6d32527d2d020f43a38abe409c3 (diff)
downloaditools-master.tar.gz
itools-master.tar.bz2
itools-master.zip
Document user and pass parametersHEADmaster
-rw-r--r--it_url.class2
1 files changed, 2 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class
index 05226a3..0679727 100644
--- a/it_url.class
+++ b/it_url.class
@@ -100,6 +100,8 @@ static function _postprocess($data, $p)
* @param $p['filemtime'] Add HTTP header to only fetch when newer than this, otherwise return true instead of data
* @param $p['accept_encoding'] Contents of the "Accept-Encoding: " header. Enables decoding of the response. Set to null to disable, "" (default) for all supported encodings.
* @param $p['protocols'] Array of protocols to accept, defaults to ['http', 'https'], @see curl_opts for other values
+ * @param $p['user'] Username for basic HTTP authentication
+ * @param $p['pass'] Password for basic HTTP authentication
*
* Problem handling
* @param $p['retries'] Number of retries if download fails, default 1