From 2b36bfdd257e2f59e64413a976edec529c34f558 Mon Sep 17 00:00:00 2001 From: David Flatz Date: Wed, 9 Jul 2025 16:00:29 +0200 Subject: Document user and pass parameters --- it_url.class | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3