We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f769176 commit 5647437Copy full SHA for 5647437
lib/excon/ssl_socket.rb
@@ -108,7 +108,7 @@ def initialize(data = {})
108
109
# eat the proxy's connection response
110
response = Excon::Response.parse(self, :expects => 200, :method => 'CONNECT')
111
- if response[:status] != 200
+ if response[:response][:status] != 200
112
raise(Excon::Errors::ProxyConnectionError.new("proxy connection is not exstablished"))
113
end
114
0 commit comments