taf2 / curb

Ruby bindings for libcurl
Other
1.29k stars 229 forks source link

Best place to add http response headers? #184

Closed dogweather closed 2 years ago

dogweather commented 10 years ago

Hi,

I'm using curb for custom RSpec matchers which need to inspect the response headers. I couldn't find support for hash-based access to the headers, so I've coded it myself. (I've only found the head attribute of an easy response which returns the headers as a single string.)

I'm down for adding this functionality to Curb and submitting a pull request. But where would be the appropriate place for the code to go?

taf2 commented 10 years ago

Sounds good to me, I thought at one point we had code to do this but perhaps not. A pull request would be welcome.