summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorUrban Müller2024-04-30 14:20:54 +0200
committerUrban Müller2024-04-30 14:20:54 +0200
commit1fb9788717604a47b01cc88677d72832316c15c9 (patch)
tree5adc66e0cd4b01accc04032ae971e9d79eb1aae3 /it_url.class
parentc4ecbedc0b092eaa9a1296ee9cd1551cae8f7cdd (diff)
downloaditools-1fb9788717604a47b01cc88677d72832316c15c9.tar.gz
itools-1fb9788717604a47b01cc88677d72832316c15c9.tar.bz2
itools-1fb9788717604a47b01cc88677d72832316c15c9.zip
fix typo
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_url.class b/it_url.class
index 9af36e3..091baf9 100644
--- a/it_url.class
+++ b/it_url.class
@@ -109,13 +109,13 @@ static function _postprocess($data, $p)
* @param $p['it_error'] extra arguments for it_error or false to ignore errors
* @param $p['fetchsleep'] Number of seconds to wait after fetch, fractions ok
* @param $p['empty_on_fail'] Return empty page if http status code is >= 400
-
+ *
* 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['followlocation']Follow redirects [true]
-
+ *
* @return Content of resulting page (considering redirects, excluding headers or false on error) or array (empty on error) if 'assoc' => true
*/
static function get($p = [])