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

# httparty breaking changes

httparty 0.25.0 (November 20, 2026) is its newest release with breaking changes, 4 of them. The first: Relative redirect Location headers resolve against the current URL in httparty 0.25.0. Every breaking API change we have recorded in httparty on RubyGems: 14 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.25.1`, released November 21, 2026. [Source repository](https://github.com/jnunemaker/httparty)

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

- From [0.15.0](#v-0-15-0) to [0.25.0](#v-0-25-0): 13 breaking changes in 5 versions.

## httparty 0.25.0 breaking changes

httparty 0.25.0, released November 20, 2026: 4 breaking changes.

- **Behavior changed**  

A relative Location header now resolves against the URL that redirected instead of the site root. Use an absolute path such as / in the Location if you relied on the old behavior. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.25.0)
- **Behavior changed**  

An empty, query-only or fragment-only path now requests the base_uri as-is instead of adding a trailing slash. To keep the slash, pass "/" as the path. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.25.0)
- **Behavior changed**  

A HEAD request is no longer turned into a GET by a 303 redirect, so the response body is no longer downloaded. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.25.0)
- **Behavior changed** `headers`  

Passing a non-hash value as headers now raises ArgumentError with the documented message, rather than NoMethodError or TypeError. Code that rescues those errors must change. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.25.0)

## httparty 0.24.0 breaking changes

httparty 0.24.0, released December 28, 2025: 3 breaking changes.

- **Behavior changed**  

Absolute URLs passed to requests are no longer allowed to skip the configured base_uri, to prevent SSRF. Code that relies on absolute URLs leaving the base_uri must change. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.24.0)
- **Behavior changed**  

Requests with a Hash body now get a Content-Type header set automatically. Code that sets its own Content-Type or relies on none being sent may behave differently. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.24.0)
- **Behavior changed**  

The gem now forces binary encoding across request handling. Code that relies on the previous string encodings may need to adjust. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.24.0)

## httparty 0.22.0 breaking changes

httparty 0.22.0, released April 29, 2024: 3 breaking changes.

- **Removed**  

This release no longer supports older Ruby versions. Projects on those Ruby versions must upgrade Ruby before using this release. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.22.0)
- **Behavior changed**  

Redirects with authorization credentials to the same host for relative paths now keep those credentials. Code that depended on them being dropped must be reviewed. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.22.0)
- **Behavior changed**  

When a redirect is followed as a GET, the request body is now cleared. Code that relies on the body being sent on such redirects must be updated. [github.com](https://github.com/jnunemaker/httparty/releases/tag/v0.22.0)

## httparty 0.21.0 breaking changes

httparty 0.21.0, released December 30, 2022: 1 breaking change.

- **Behavior changed**  

Filenames in multipart/form-data Content-Disposition headers are now escaped, so the header sent for uploads with special characters in the filename differs from before. Check any code that depends on the exact header value. [github.com](https://github.com/jnunemaker/httparty/blob/v0.21.0/Changelog.md)

## httparty 0.20.0 breaking changes

httparty 0.20.0, released September 29, 2021: 2 breaking changes.

- **Behavior changed**  

The gem now requires Ruby 2.3.0 or later. Upgrade Ruby before upgrading httparty. [github.com](https://github.com/jnunemaker/httparty/blob/v0.20.0/Changelog.md)
- **Behavior changed** `httparty.pem`  

The :pem option now uses OpenSSL::PKey.read, so keys of other algorithms are accepted. Existing PEM keys should continue to work. [github.com](https://github.com/jnunemaker/httparty/blob/v0.20.0/Changelog.md)

## httparty 0.15.0 breaking changes

httparty 0.15.0, released May 11, 2017: 1 breaking change.

- **Configuration changed**  

The gem now requires Ruby 2.0.0 or newer, so older Ruby versions can no longer run this release. Upgrade Ruby before updating httparty. [github.com](https://github.com/jnunemaker/httparty/blob/v0.15.0/History.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.
