150 Commits (e25457da16a6dc74656945bd54cf39d4b3be9a5c)

Author SHA1 Message Date
Dylan Piercey 57f13d9af2 Detect formdata body and set content-type header (#220) 9 years ago
Luan Muniz 9185b5beb0 Fix location encoding (#214) 9 years ago
Luan Muniz 1409f828fe Add a `requestUrl` property to the response object (#205) 9 years ago
Roland Warmerdam 52a67e60a1 Add redirect url to response object (#191) 9 years ago
Sindre Sorhus 9bb4696c16 fix lint issues with latest XO 9 years ago
Sindre Sorhus 7ad5e0efc2 fix failing test caused by changes in `prepend-http` module 9 years ago
Sindre Sorhus f33514146c minor tweaks 9 years ago
Ruy Adorno b3cd961254 Added option to toggle automatic following redirects 9 years ago
Sindre Sorhus 814bcacd14 remove moot regex escape 9 years ago
Sindre Sorhus 0664b9802f code style - import order 9 years ago
André Cruz 26a499c033 Add statusCode to ParseError, closes #182. 9 years ago
Luigi Pinca 45a636c6c2 parse the response body only if it is not empty 9 years ago
birhoff f9078b6440 Close #171 PR: Fix user-agent string RFC 2616 Section 14.43. Fixes #169 9 years ago
Vsevolod Strukchinsky f9ef29a3fc convert method to uppercase in options 9 years ago
Vsevolod Strukchinsky 01d54e8e49 filter some nasty errors 9 years ago
Vsevolod Strukchinsky 4bfedec3f1 check for pipe method only (part 2) 9 years ago
Vsevolod Strukchinsky 8d37ed0b55 fix broken require 9 years ago
Vsevolod Strukchinsky f0c43efe34 fix rebase typo 9 years ago
Vsevolod Strukchinsky 112d70d3f7 replace git url with `@floatdrop/duplexer2` 9 years ago
Vsevolod Strukchinsky fa5a296129 remove object-assign 9 years ago
Vsevolod Strukchinsky 2989756030 simplify asPromise code 9 years ago
Vsevolod Strukchinsky 0e3954b055 merge asCallback with asPromise 9 years ago
Vsevolod Strukchinsky 20b7e845a6 remove callback interface 9 years ago
Vsevolod Strukchinsky 8af13eee18 fix failed rebase conflict 9 years ago
Vsevolod Strukchinsky 6fa957b53c replace duplexify with patched duplexer2 9 years ago
Vsevolod Strukchinsky cc36bb214a remove parse-json 9 years ago
Vsevolod Strukchinsky df6526461b var → const & let 9 years ago
Vsevolod Strukchinsky 9378d92120 replace read-all-stream with get-stream 9 years ago
Vsevolod Strukchinsky 3c66bd74c7 use string templates where appropriate 9 years ago
Vsevolod Strukchinsky 5f76fa016f basic consts and function arrow replacement 9 years ago
Vsevolod Strukchinsky 870cd03c99 remove pinkie-promise 9 years ago
Vsevolod Strukchinsky 59aa1d3a1d pass error to retries option 9 years ago
Vsevolod Strukchinsky da9fc07a59 check for HEAD method before unzipping response 9 years ago
Vsevolod Strukchinsky a10a99e8ae accept backoff function in retry option 9 years ago
Vsevolod Strukchinsky 54bd6f5bba decrease retry intervals 9 years ago
Vsevolod Strukchinsky cf54459257 remove undefined code in errors 9 years ago
Vsevolod Strukchinsky dcc7de6815 make response property non enumerable on error 9 years ago
Vsevolod Strukchinsky e45087ab04 fix accept and content-length headers overriding 9 years ago
Vsevolod Strukchinsky 5205e7260f check for pipe method only 9 years ago
Vsevolod Strukchinsky 927b479308 some more code-style fixes 9 years ago
Vsevolod Strukchinsky ec893541da tiny code-style fix 9 years ago
Vsevolod Strukchinsky abf18da4a0 cleanup unix socket code 9 years ago
Vsevolod Strukchinsky c59b7b81b0 Add note about function in setImmediate 9 years ago
Vsevolod Strukchinsky 9ffbbdf5ab Deferred response event 9 years ago
Vsevolod Strukchinsky 001351cb06 Merge default values in one object 9 years ago
Sindre Sorhus a64de6f77b use `url-parse-lax` instead of `prepend-http` 9 years ago
Vsevolod Strukchinsky 6c59ce8b34 Add exponential retry on network errors 9 years ago
Vsevolod Strukchinsky 62ff082deb Throw on authentication in url string 9 years ago
Vsevolod Strukchinsky 066e6125e0 Emit either error or reponse event in stream mode 9 years ago
Kevin Martensson f9f2807e63 Don't unzip response in browsers 9 years ago