Getting Header Location from Phil's Rest client - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Getting Header Location from Phil's Rest client (/showthread.php?tid=45732) |
Getting Header Location from Phil's Rest client - El Forum - 10-03-2011 [eluser]Unknown[/eluser] 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. |