---
title: "net-http 0.10.0 Breaking Changes on RubyGems | Since.dev"
description: "What each net-http release removed, renamed or changed: 15 breaking changes in 6 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/net-http
last_updated: 2026-12-04
---

# 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

Latest version `0.10.0`, released October 8, 2026. [Source repository](https://github.com/ruby/net-http)

Its 0.8.0 release requires [Ruby 2.7](https://since.dev/calendar/ruby/2.7.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.2.0](#v-0-2-0) to [0.10.0](#v-0-10-0): 13 breaking changes in 5 versions.

## net-http 0.10.0 breaking changes

net-http 0.10.0, released October 8, 2026: 7 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](https://github.com/ruby/net-http/releases/tag/v0.10.0)
- **Behavior changed**  

Content-Length parsing is stricter, so responses with malformed Content-Length values that were previously accepted may now fail. [github.com](https://github.com/ruby/net-http/releases/tag/v0.10.0)
- **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](https://github.com/ruby/net-http/releases/tag/v0.10.0)
- **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](https://github.com/ruby/net-http/releases/tag/v0.10.0)
- **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](https://github.com/ruby/net-http/releases/tag/v0.10.0)
- **Behavior changed**  

A whitespace-only header line is now handled as obsolete line folding, which can change how header values are parsed. [github.com](https://github.com/ruby/net-http/releases/tag/v0.10.0)
- **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](https://github.com/ruby/net-http/releases/tag/v0.10.0)

## net-http 0.8.0 breaking changes

net-http 0.8.0, released November 13, 2025: 1 breaking change.

- **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](https://github.com/ruby/net-http/releases/tag/v0.8.0)

## net-http 0.7.0 breaking changes

net-http 0.7.0, released October 31, 2025: 1 breaking change.

- **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](https://github.com/ruby/net-http/releases/tag/v0.7.0)

## net-http 0.4.0 breaking changes

net-http 0.4.0, released November 6, 2023: 2 breaking changes.

- **Removed** `Revision`  

The obsolete Revision constant was removed, so code that references it will no longer work. [github.com](https://github.com/ruby/net-http/releases/tag/v0.4.0)
- **Behavior changed**  

When using LibreSSL, the TLS version is now forced to 1.2, which may change which connections succeed. [github.com](https://github.com/ruby/net-http/releases/tag/v0.4.0)

## net-http 0.3.0 breaking changes

net-http 0.3.0, released October 24, 2022: 2 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](https://github.com/ruby/net-http/releases/tag/v0.3.0)
- **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](https://github.com/ruby/net-http/releases/tag/v0.3.0)

## net-http 0.2.0 breaking changes

net-http 0.2.0, released October 21, 2021: 2 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](https://github.com/ruby/net-http/releases/tag/v0.2.0)
- **Behavior changed**  

Writes made with body_stream now honor the write timeout, so slow uploads that previously completed may now time out. [github.com](https://github.com/ruby/net-http/releases/tag/v0.2.0)

## Related packages

- [net-imap](https://since.dev/packages/gem/net-imap.md)
- [net-smtp](https://since.dev/packages/gem/net-smtp.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
