faraday adapter: added support for
#on_datacallback in order to support faraday streaming.
multipart plugin: removed support for file mime type detection using
mime-types. The reasoning behind it was that
mime-typesuses the filename, which is a very inaccurate detection strategy (ex: an mp4 video will be identified as
application/mp4, instead of the correct
multipart plugin: supported for file mime type detection using
filemagicwas added. Both use the magic header bytes, which is a more accurate strategy for file type detection.
webmock adapter has been reimplemented to work with
httpxplugins (such as the
:retriesplugin). Some other fixes were applied to make it work better under
fixed the URI-related bug which was making requests stall under ruby 3.1 (still not officially testing against it).