Download Latest Version v0.24.2 source code.tar.gz (108.8 kB)
Email in envelope

Get an email when there's a new version of httparty

Home / v0.24.2
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-01-14 798 Bytes
v0.24.2 source code.tar.gz 2026-01-14 108.8 kB
v0.24.2 source code.zip 2026-01-14 152.1 kB
Totals: 3 Items   261.7 kB 2

Full Changelog: https://github.com/jnunemaker/httparty/compare/v0.24.1...v0.24.2

Bug Fixes

  • Streaming uploads are now opt-in - The streaming multipart upload feature introduced in 0.24.0 caused compatibility issues with some servers (returning 400 errors). Streaming is now disabled by default to preserve backwards compatibility. Enable it explicitly with stream_body: true for memory-efficient large file uploads. (#832)

Example

:::ruby
# Default behavior (buffered, compatible with all servers)
HTTParty.post('http://example.com/upload', body: { file: File.open('large.zip') })

# Opt-in to streaming for large files (reduced memory usage)
HTTParty.post('http://example.com/upload', body: { file: File.open('large.zip') }, stream_body: true)
Source: README.md, updated 2026-01-14