Skip to content

Commit

Permalink
! make the returned size available in the class, useful for addons
Browse files Browse the repository at this point in the history
Signed-off-by: Spuds <spuds@spudsdesign.com>
  • Loading branch information
Spuds committed Jul 9, 2014
1 parent b3c7056 commit 05d8c39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sources/CurlFetchWebdata.class.php
Expand Up @@ -186,6 +186,7 @@ private function _curlRequest($url, $redirect = false)
'url' => $url,
'code' => $http_code,
'error' => $error,
'size' => !empty($curl_info['download_content_length']) ? $curl_info['download_content_length'] : 0,
'headers' => !empty($this->_headers) ? $this->_headers : false,
'body' => $body,
);
Expand Down

0 comments on commit 05d8c39

Please sign in to comment.