Registry / http-client / open-uri-redirections

open-uri-redirections

JSON →
library0.2.1rbrubygemsunverified

OpenURI patch to allow redirections between HTTP and HTTPS.

gem install open_uri_redirections
INSTALL
IMPORT
SIG · OPEN-URI-REDIRECTI
O
open-uri-redirections
http-clientrubyv0.2.1
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.

OpenURI::Redirections
require 'open_uri_redirections'

Allow HTTP/HTTPS redirects in OpenURI

require 'open_uri_redirections' require 'open-uri' content = URI.open('http://example.com/redirect', allow_redirections: :all).read puts content
Debug
Known issues
gotchaThis gem patches OpenURI globally, which may affect other code
fix
Use with caution in libraries; consider using a dedicated HTTP client instead
affects: >= 0.1.0
Upgrade
Version history
0.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
open-uri-redirections — gem install open-uri-redirections · libregistry