Transports
Changed
- Aborts are no longer be emitted as errors into the response stream (08e68a8)
- Persist the original cookie header and append new cookies headers during redirect (avoids wiping the header) (898f3b6)
- Add
getAll
method for retrieving all headers by a key, whileget
will always return the first header (c180f08#diff-49b580f166912fd1e84bdacd4857fedaR179) - Allow the response class of a transport response to be changed (c180f08)
- Moved response parsing and transport options into the transport layer - create a transport using
createTransport({ type: string })
(bcc9e29) - Tweak progress tracker to persist lengths (previous they were reset to known lengths when the response finished) (124d0bd)
- Removed the
popsicle.browser
export (you can useprocess.browser
orrequire('is-browser')
easily enough) (c7af7e4) - Removed
process.nextTick
for starting the request, rely onnextTick
behaviour of promises instead (saves 400kB) (8a0fba6)
Fixed
- Getting cookies are handled across different domains (via redirects) better (898f3b6)
Added