Skip to content

Releases: jnunemaker/httparty

v0.24.2

14 Jan 22:56

Choose a tag to compare

Full Changelog: 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

# 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)

v0.24.1

14 Jan 22:44

Choose a tag to compare

What's Changed

  • Add trailing clrf when building header for non-file parts. by @serixscorpio in #833

New Contributors

Full Changelog: v0.24.0...v0.24.1

v0.24.0

29 Dec 13:57

Choose a tag to compare

What's Changed

Full Changelog: v0.23.2...v0.24.0

0.23.2

07 Oct 21:54

Choose a tag to compare

What's Changed

  • Add changelog_uri metadata to gemspec by @baraidrissa in #817
  • Fix multipart with files in binary mode and fields including non-ASCII characters by @rdimartino in #822

New Contributors

Full Changelog: v0.23.1...v0.23.2

v0.23.1

28 Mar 18:29

Choose a tag to compare

  • Add foul option to class level d268387

Full Changelog: v0.23.0...v0.23.1

v0.23.0

27 Mar 14:49

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.22.0...v0.23.0

v0.22.0

29 Apr 12:26

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.21.0...v0.22.0

v0.17.3

16 Dec 14:42

Choose a tag to compare

Bump version to 0.17.3

v0.17.2

16 Dec 11:35

Choose a tag to compare

Bump version to 0.17.2