diff options
author | Urban Müller | 2025-10-10 17:49:03 +0200 |
---|---|---|
committer | Urban Müller | 2025-10-10 17:49:03 +0200 |
commit | 9e39eb43ebefca7dd26a65e2a3dd6aa366ec337c (patch) | |
tree | a12dbd0895c5490ef50648d5d7be62677f233994 | |
parent | c2d94a790c0f8954a09ff0b51719f5381398beae (diff) | |
download | itools-9e39eb43ebefca7dd26a65e2a3dd6aa366ec337c.tar.gz itools-9e39eb43ebefca7dd26a65e2a3dd6aa366ec337c.tar.bz2 itools-9e39eb43ebefca7dd26a65e2a3dd6aa366ec337c.zip |
better docs
-rw-r--r-- | it_url.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_url.class b/it_url.class index e5b284c..6d1d7ce 100644 --- a/it_url.class +++ b/it_url.class @@ -119,7 +119,7 @@ static function _postprocess($data, $p) * Result processing * @param $p['assoc'] Return [ 'data' => string, 'status' => int, 'cookies' => array, 'headers' => array, 'errstr' => string ] instead of just data * @param $p['writefunction'] function to be called whenever data is received (for server-sent-events etc.) - * @param $p['postprocess'] function called with content and $p which has it_error. returns content or null (which triggers retry) + * @param $p['postprocess'] function called with content and $p which has it_error params. returns content or null/false (which triggers retry) * @param $p['followlocation']Follow redirects [true] * * @return Content of resulting page (considering redirects, excluding headers or false on error) or array if 'assoc' => true @@ -771,7 +771,7 @@ static function _expired($path, $maxage, $randomexpire = 0) else $result = false; } - else # File does not exists yet + else # File does not exist yet $result = true; return $result; |