Registry / http-client / net-http

net-http

JSON →
library0.9.1rbrubygemsunverified

HTTP client API for Ruby, providing a simple interface for making HTTP requests.

gem install net-http
INSTALL
IMPORT
SIG · NET-HTTP
N
net-http
http-clientrubyv0.9.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.

Net::HTTP
require 'net/http'

Make a simple HTTP GET request

require 'net/http' response = Net::HTTP.get_response(URI('https://example.com')) puts response.body
Debug
Known issues
gotchaNet::HTTP does not verify SSL certificates by default
fix
Set use_ssl=true and ca_file or ca_path for production
affects: < 0.9.1
Upgrade
Version history
0.9.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
net-http — gem install net-http · libregistry