Permalink
Browse files

Merge pull request #192 from chatgris/em-http-proxy

Fix EventMachine::HttpRequest on proxy method.
  • Loading branch information...
bblimke committed Jul 23, 2012
2 parents 4dbc51d + 5676de8 commit bca9e747b1cd20eb341f421e7d8e4e2c0862b474
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/webmock/http_lib_adapters/em_http_request/em_http_request_1_x.rb
@@ -156,7 +156,7 @@ def build_request_signature
method = @req.method
uri = @req.uri.clone
- auth = @req.proxy[:authorization] if @req.proxy
+ auth = @req.headers[:'proxy-authorization']
query = @req.query
if auth

0 comments on commit bca9e74

Please sign in to comment.