superagent
Advanced tools
Changelog
4.1.0 (2018-12-26)
.connect()
IP/DNS override option (Kornel).trustLocalhost()
option for allowing broken HTTPS on localhost
.abort()
used with promises rejects the promise.Changelog
4.0.0 (2018-11-17)
.end(…)
returns undefined
instead of the request. If you need the request object after calling .end()
(and you probably don't), save it in a variable and call request.end(…)
. Consider not using .end()
at all, and migrating to promises by calling .then()
instead..buffer(false)
to requests or set superagent.buffer[yourMimeType] = false
..pipe()
throw.req.abort().end()
is called.end()
promise on all error events (Kornel Lesiński)https.servername
from the Host
header (Kornel Lesiński)response.buffered
is more accurate.Changelog
3.8.3 (2018-04-29)
Buffer
via send method (Sergey Akhalkov)Changelog
3.8.2 (2017-12-09)
+json
MIME types.Changelog
3.8.0
superagent.agent()
. It now remembers default settings for all its requests..retry()
(Alexander Murphy)