From: Ed Howland Date: 2009-12-23T00:21:35+09:00 Subject: Re: rest-client headers or cookies On Mon, Dec 21, 2009 at 5:59 PM, Nicholas Wieland wrote: > > I don't think you want the headers of the GET or POST, but of the response, right ? > Did you try to assign the RestClient.get to a variable (that should be a Response) and call headers on it ? > Let me know if it works. > >  ngw > Thanks, That did the trick. I had believed that I was just getting response.body from the call, but what apparently was happening was it was auto-casting to a string. response.to_s is probably the same as response.body. Ed > > -- Ed Howland http://greenprogrammer.wordpress.com http://twitter.com/ed_howland