Merge branch 'task/httprequest_optimiziations' of https://github.com/nupplaphil/friendica into task/httprequest_optimiziations

This commit is contained in:
Philipp Holzer 2021-08-25 18:01:34 +02:00
commit 81ad618480
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD

View file

@ -60,7 +60,7 @@ interface IHTTPClient
* Send a HEAD to an URL. * Send a HEAD to an URL.
* *
* @param string $url URL to fetch * @param string $url URL to fetch
* @param array $opts (optional parameters) assoziative array with: * @param array $opts (optional parameters) associative array with:
* 'accept_content' => (string array) supply Accept: header with 'accept_content' as the value * 'accept_content' => (string array) supply Accept: header with 'accept_content' as the value
* 'timeout' => int Timeout in seconds, default system config value or 60 seconds * 'timeout' => int Timeout in seconds, default system config value or 60 seconds
* 'cookiejar' => path to cookie jar file * 'cookiejar' => path to cookie jar file
@ -74,7 +74,7 @@ interface IHTTPClient
* Send a GET to an URL. * Send a GET to an URL.
* *
* @param string $url URL to fetch * @param string $url URL to fetch
* @param array $opts (optional parameters) assoziative array with: * @param array $opts (optional parameters) associative array with:
* 'accept_content' => (string array) supply Accept: header with 'accept_content' as the value * 'accept_content' => (string array) supply Accept: header with 'accept_content' as the value
* 'timeout' => int Timeout in seconds, default system config value or 60 seconds * 'timeout' => int Timeout in seconds, default system config value or 60 seconds
* 'cookiejar' => path to cookie jar file * 'cookiejar' => path to cookie jar file