Project

General

Profile

Feature #10652

Automatic detection of user and password from env

Added by xfalcox (Rafael Silva) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:67138]

Description

Get user and pass from http_proxy variable when specified, so that NET::HTTP can handle connections behind authenticated proxies automatically.

I'm new, so please correct me if this isn't the correct way to go.

Also, I've open a PR on github at [[[https://github.com/ruby/ruby/pull/763]]]


Files

f17b3008197b81b8afaefb7de2ed43187620a1dc.patch.txt (1.07 KB) f17b3008197b81b8afaefb7de2ed43187620a1dc.patch.txt lib/net/http.rb xfalcox (Rafael Silva), 12/25/2014 09:50 PM

Related issues

Related to Ruby master - Feature #12921: Retrieve user and password for proxy from envClosedActions

Also available in: Atom PDF