Skip to content

v2.0.1 — RequestBodyStream#read accepts an optional length (WebMock fix)

Latest

Choose a tag to compare

@ncr ncr released this 16 Sep 10:22
1ca3d3d

Fixed

  • The bounded request body stream accepts IO#read's optional length
    argument. Net::HTTP instrumentation layers that read the whole request body
    at once (WebMock's adapter, for example) raised ArgumentError against
    2.0.0, failing the test suite of any app that proxies a request body. (#145)