BSD Ports

www/ruby-http 6.0.4 NetBSD

Simple Ruby DSL for making HTTP requests

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
579da71e44
License
mit
Categories
www, ruby
Package size
208.0 KiB, 783.3 KiB installed

Description

The HTTP Gem is an easy-to-use client library for making requests from Ruby. It uses a simple method chaining system for building requests, similar to libraries like JQuery or Python's Requests.

Install

Binary package:

pkgin install ruby33-http

From pkgsrc:

cd /usr/pkgsrc/www/ruby-http && make install clean

Dependencies

Run dependencies 3
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-http-6.0.4, ruby40-http-6.0.4

Commit history 1

DateCommitCreditsLog message
579da71e44 taca www/ruby-http: update to 6.0.4
6.0.4 -(2026-07-14) Fixed * On Ruby 3.4+ with TCPSocket, the redundant Timeout.timeout wrap around socket-level connect_timeout is removed. The native timeout is used alone, which avoids a slow Thread leak from Timeout::Request retention under abnormal exit paths (see #542). On Ruby 3.2/3.3 and with custom socket classes the previous Timeout.timeout wrap is preserved. Security * HTTP::Request::Builder#make_request_uri now rejects protocol-relative inputs (//host/path) when resolving against a configured base_uri or persistent origin. Previously such inputs were treated as network-path references per RFC 3986 §5.2 and replaced the base authority — via URI#join on the base_uri branch and via string concatenation on the …