From 30b098f5b0a80621d99b802f5e9ff20c7f656892 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 22 Oct 2021 16:13:27 +0200 Subject: improve docs --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3