2
0
mirror of https://github.com/therootcompany/request.js synced 2025-03-14 12:20:38 +00:00
request.js/CHANGELOG.md

7 lines
269 B
Markdown
Raw Normal View History

2021-10-18 01:41:02 -06:00
# CHANGELOG
## v1.8.0
- add `resp.ok` - same as WHATWG fetch `resp.ok = (resp.statusCode >= 200 && resp.statusCode < 300)`
- add `resp.stream.body()` to populate `resp.body` rather than (or perhaps in addition to) continuing to stream (useful for error handling)