Registry / networking / no-proxy-fix

no-proxy-fix

JSON →
library0.1.2rbrubygemsunverified

A fix for a Ruby bug where the no_proxy environment variable is not properly handled.

gem install no_proxy_fix
INSTALL
IMPORT
SIG · NO-PROXY-FIX
N
no-proxy-fix
networkingrubyv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NoProxyFix
require 'no_proxy_fix'

Automatically patches Net::HTTP to respect no_proxy.

require 'no_proxy_fix' # After requiring, the fix is automatically applied to Net::HTTP. Net::HTTP.start('example.com', 80, :proxy_from_env => true) do |http| puts http.get('/').body end
Debug
Known issues
gotchaOnly needed for Ruby versions before the fix was merged (Ruby 2.5+).
fix
Upgrade Ruby to 2.5+ or use this gem for older versions.
affects: >= 0.1.0
Upgrade
Version history
0.1.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
no-proxy-fix — gem install no-proxy-fix · libregistry