Sha256: 45455de2b628694ff64798d7de04b78125c5d7e9423e8f5f26cd6bc9b58d6e4d

Contents?: true

Size: 998 Bytes

Versions: 1

Compression:

Stored size: 998 Bytes

Contents

# 0.18.4

## Improvements

* faraday adapter: added support for `#on_data` callback in order to support [faraday streaming](https://lostisland.github.io/faraday/usage/streaming).

* multipart plugin: removed support for file mime type detection using `mime-types`. The reasoning behind it was that `mime-types` uses the filename, which is a very innacurate detection strategy (ex: an mp4 video will be identified as `application/mp4`, instead of the correct `video/mp4`).
* multipart plugin: supported for file mime type detection using `marcel` and `filemagic` was added. Both use the magic header bytes, which is a more accurate strategy for file type detection.

## Bugfixes

* webmock adapter has been reimplemented to work with `httpx` plugins (such as the `:retries` plugin). Some other fixes were applied to make it work better under `vcr` (a common `webmock` extension).

* fixed the URI-related bug which was making requests stall under ruby 3.1 (still not officially testinng against it).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
httpx-0.18.4 doc/release_notes/0_18_4.md