Document new redirect_url return value

This commit is contained in:
Matthew Exon 2016-01-25 11:38:36 +01:00
parent cfd40896de
commit 4ff8c9e3a1

View File

@ -42,6 +42,7 @@ if(!function_exists('z_fetch_url')){
* @return array an assoziative array with: * @return array an assoziative array with:
* * \e int \b return_code => HTTP return code or 0 if timeout or failure * * \e int \b return_code => HTTP return code or 0 if timeout or failure
* * \e boolean \b success => boolean true (if HTTP 2xx result) or false * * \e boolean \b success => boolean true (if HTTP 2xx result) or false
* * \e string \b redirect_url => in case of redirect, content was finally retrieved from this URL
* * \e string \b header => HTTP headers * * \e string \b header => HTTP headers
* * \e string \b body => fetched content * * \e string \b body => fetched content
*/ */