…rtificate Allow inclusion of client certificate while not verifying server certificate
…ven if sending a client certificate.
Add stackexchange API example.
Added read_timeout and open_timeout options
…dually, overriding the timeout option if set
added the possibility to specify a body_stream in HttpRequest
Initialize HTTParty requests with an URI object and a String.
Fix digest auth when multiple headers are sent by the server
Digest authentication would fail if more than one header was sent as part of the response. Look specifically for the "Digest" word as part of the www-authenticate header. This fixes issue #271.
Correctly merge default headers with request provided headers - fixes #255
Use `Basement.copy` when calling `HTTParty.copy`
I think it's just a typo due to copy-pasting code
Modernize respond_to implementations
Since at least Ruby 1.8.7, `respond_to?` has supported an optional second parameter which causes private/protected methods to be included in the check. This defaults to false. As of Ruby 2, there's a warning logged if an implementation of `respond_to` does not take a second parameter, see: ruby/ruby@a106b31 This change updated the respond_to implementations to support the second parameter.