This website requires JavaScript.
Explore
Help
Sign In
coolaj86
/
request.js
mirror of
https://github.com/therootcompany/request.js.git
Watch
1
Star
0
Fork
You've already forked request.js
0
Code
Issues
Projects
Releases
Wiki
Activity
c5dfb20a7d
request.js
/
CHANGELOG.md
269 B
Raw
Blame
History
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)