Adapt description for "accept_content"

This commit is contained in:
Philipp Holzer 2021-08-25 14:28:59 +02:00
parent 12367648fa
commit a6258cfbfa
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD

View file

@ -61,7 +61,7 @@ interface IHTTPClient
*
* @param string $url URL to fetch
* @param array $opts (optional parameters) assoziative array with:
* 'accept_content' => 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
* 'cookiejar' => path to cookie jar file
* 'header' => header array
@ -75,7 +75,7 @@ interface IHTTPClient
*
* @param string $url URL to fetch
* @param array $opts (optional parameters) assoziative array with:
* 'accept_content' => 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
* 'cookiejar' => path to cookie jar file
* 'header' => header array