Permalink
Browse files

Fix EventMachine::HttpRequest on proxy method.

Caused by
igrigorik/em-http-request@7d5752d

Signed-off-by: chatgris <jboyer@af83.com>
  • Loading branch information...
1 parent 887bf32 commit 5676de8d821a358ae8147d8d0f7c7a49e3c3c333 chatgris committed Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/webmock/http_lib_adapters/em_http_request/em_http_request_1_x.rb
@@ -154,7 +154,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 5676de8

Please sign in to comment.