lib/twilio-ruby/http/http_client.rb in twilio-ruby-5.4.0 vs lib/twilio-ruby/http/http_client.rb in twilio-ruby-5.4.1

- old
+ new

@@ -41,10 +41,10 @@ object = response.body elsif response.status == 400 object = { message: 'Bad request', code: 400 }.to_json end - twilio_response = Twilio::Response.new(response.status, object) + twilio_response = Twilio::Response.new(response.status, object, headers: response.headers) @last_response = twilio_response twilio_response end