lib/httpi/adapter/httpclient.rb in httpi-0.9.1 vs lib/httpi/adapter/httpclient.rb in httpi-0.9.2
- old
+ new
@@ -88,10 +88,10 @@
end
client.ssl_config.verify_mode = ssl.openssl_verify_mode
end
def respond_with(response)
- Response.new response.code, Hash[response.header.all], response.content
+ Response.new response.code, Hash[response.header.all.flatten], response.content
end
end
end
end