From: Tony Arcieri Date: 2011-10-11T14:30:28+09:00 Subject: Re: [ANN] Http 0.0.1 - talk to the web humanely Mea culpa, this is the 0.0.1 half-baked release :) On Mon, Oct 10, 2011 at 10:26 PM, Josh Cheek wrote: > On Mon, Oct 10, 2011 at 11:47 PM, Tony Arcieri wrote: > >> Q: How do I get the response headers? >> A: Right now you can't because there aren't any response objects. >> There will be! Http.get accepts an options hash, and the default >> option is :response => :parsed_body. Changing :response => :object >> will give you a response object. This will be the default behavior for >> HttpClient.get as well (Http provides a separate HttpClient clas for >> when you want OOP instead of KISS) >> >> > This would be a necessary feature for most of my use cases. > -- Tony Arcieri