doc/release_notes/0_18_4
0.18.4
Improvements
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 thatmime-typesuses the filename, which is a very inaccurate detection strategy (ex: an mp4 video will be identified asapplication/mp4, instead of the correctvideo/mp4).multipart plugin: supported for file mime type detection using
marcelandfilemagicwas 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
httpxplugins (such as the:retriesplugin). Some other fixes were applied to make it work better undervcr(a commonwebmockextension).fixed the URI-related bug which was making requests stall under ruby 3.1 (still not officially testing against it).