Releases: sindresorhus/got
Releases · sindresorhus/got
2.0.0
- Return an error object on connection failure instead of the HTTP status code. 4a6b6d7
The HTTP status code is now available as acodeproperty 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 aHEADrequest. - Add
timeoutoption. 14e0dd8