net-http breaking changes
net-http 0.10.0 (October 8, 2026) is its newest release with breaking changes, 7 of them. The first: Request headers containing CR or LF are now rejected in net-http 0.10.0. Every breaking API change we have recorded in net-http on RubyGems: 15 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.10.0, released October 8, 2026. Source repository
Its 0.8.0 release requires Ruby 2.7 or later. Ruby end of life dates.
net-http 0.10.0 breaking changes
- Behavior changed
Request generation now rejects CR/LF characters in the remaining paths, so header or request values that previously went through may now raise an error. github.com - Behavior changed
Content-Length parsing is stricter, so responses with malformed Content-Length values that were previously accepted may now fail. github.com - Behavior changed
Header validation now also checks the total size of all headers, so responses or requests with large combined headers may now be rejected. github.com - Behavior changed
A response is treated as chunked only when chunked is the final transfer coding, which changes how some responses are read. github.com - Behavior changed
Requests now allow only a limited number of informational (1xx) responses, so servers sending many of them may now cause an error. github.com - Behavior changed
A whitespace-only header line is now handled as obsolete line folding, which can change how header values are parsed. github.com - Behavior changed
A single response status line is now capped in length, so unusually long status lines that were previously read may now be rejected. github.com
net-http 0.8.0 breaking changes
- Configuration changed
The package now requires Ruby 2.7 or later and uri gem 0.11.1 or later. Users on older Ruby versions must upgrade. github.com
net-http 0.7.0 breaking changes
- Behavior changed
Requests with a body that do not set Content-Type will no longer default to application/x-www-form-urlencoded. Set the Content-Type header explicitly if your server needs it. github.com
net-http 0.4.0 breaking changes
- Removed
Revision
The obsolete Revision constant was removed, so code that references it will no longer work. github.com - Behavior changed
When using LibreSSL, the TLS version is now forced to 1.2, which may change which connections succeed. github.com
net-http 0.3.0 breaking changes
- Removed
ENVIRONMENT_VARIABLE_IS_MULTIUSER_SAFE
The ENVIRONMENT_VARIABLE_IS_MULTIUSER_SAFE constant was removed. Code that references it will fail. github.com - Behavior changed
Net.HTTPHeader.content_range
Net::HTTPHeader#content_range returns nil when the Content-Range unit is not bytes. Code that expects a value for other units must handle nil. github.com
net-http 0.2.0 breaking changes
- Removed
WEBrick is no longer bundled since Ruby 3.0, so code that relied on it being available must install it separately. github.com - Behavior changed
Writes made with body_stream now honor the write timeout, so slow uploads that previously completed may now time out. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.