• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Header Location from Phil's Rest client

Is there any way to get the location from the header from Phil's rest_client? When I do a POST to retrieve an image which is in the location, I am only getting the xml result. I will need the location from the header as well. Any help, thanks.

when I put
$this->option(CURLOPT_HEADER, TRUE);
on sparks/curl/1.2.0/libraries/curl.php

I get the headers and the xml response but am now getting an error when the rest client formats the response.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.