Skip to content

Releases: sindresorhus/got

2.0.0

23 Nov 09:01

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