Skip to content

Releases: sindresorhus/got

2.3.0 - funkadelic-bear

05 Jan 09:54
Compare
Choose a tag to compare

tumblr_mzkfuyhmyr1s373hwo1_400

Update

$ npm update --save got

Highlights

  • Add readable stream support in options.body. 7693a7d
  • Support protocol-less URLs as input. 0b6d7da
  • Use agents with maxSockets set to Infinity. #22 5d5d0cc
  • Discard response payload on redirect response. 1f9281f

Changes

v2.2.0...v2.3.0

2.0.0

23 Nov 09:01
Compare
Choose a tag to compare
  • Return an error object on connection failure instead of the HTTP status code. 4a6b6d7
    The HTTP status code is now available as a code property on the error object.
  • Read response stream even if status is not 200. cef2daa
    If you only care about the returned status code make sure to do a HEAD request.
  • Add timeout option. 14e0dd8