diff --git a/lib/em-http/middleware/oauth.rb b/lib/em-http/middleware/oauth.rb index d1cbeec0..4c922147 100644 --- a/lib/em-http/middleware/oauth.rb +++ b/lib/em-http/middleware/oauth.rb @@ -12,7 +12,7 @@ def initialize(opts = {}) def request(client, head, body) @consumer.sign!(client, @access_token) - head.merge!(client.options[:head]) + head.merge!(client.req.headers) [head,body] end