
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
A common interface for Ruby's HTTP libraries. This project is now in maintenance mode. For new projects, we recommend faraday.
HTTPI is available through Rubygems and can be installed via:
$ gem install httpi
or add it to your Gemfile like this:
gem 'httpi', '~> 4.0.0'
require "httpi"
# create a request object
request = HTTPI::Request.new
request.url = "http://example.com"
# and pass it to a request method
HTTPI.get(request)
# use a specific adapter per request
HTTPI.get(request, :curb)
# or specify a global adapter to use
HTTPI.adapter = :httpclient
# and execute arbitary requests
HTTPI.request(:custom, request)
# add a client setup block that will be called before each request
HTTPI.adapter = :httpclient
HTTPI.adapter_client_setup = proc do |x|
x.ssl_config.set_default_paths
x.force_basic_auth = true
end
# ...
HTTPI.get(request) do |x|
x.force_basic_auth = false
end
To use the the SOCKS proxy support, please add the socksify
gem to your gemfile, and add the following code:
require 'socksify'
require 'socksify/http'
to your project.
Continue reading at https://www.rubydoc.info/gems/httpi
FAQs
Unknown package
We found that httpi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.