124 Commits (cc36bb214a5b0e3863278973e9317c0134bd331b)

Author SHA1 Message Date
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
Vsevolod Strukchinsky df26918b3d throw when callback is passed to stream mode 9 years ago
Vsevolod Strukchinsky 0109725b74 workaround throwing in promise mode 9 years ago
vdemedes 3182234d0e allow requests via unix domain socket 9 years ago
Vsevolod Strukchinsky e0863dcce9 pass errors in stream mode 9 years ago
Sindre Sorhus 5c1e976b2f add XO 9 years ago
Sindre Sorhus e944467ed5 improve error output on invalid JSON 9 years ago
Vsevolod Strukchinsky bdc1bfb2b8 Do not assign to undefined response 9 years ago
Vsevolod Strukchinsky e1cbaf200b Do not override content-type when body is plain object 9 years ago
Vsevolod Strukchinsky 7bea9c4d33 Stringify plain Object in body as application/x-www-form-urlencoded 9 years ago
Sindre Sorhus 8045fc8741 use `http.STATUS_CODES` ponyfill 9 years ago
Sindre Sorhus 082f4fd1d9 💄 9 years ago
Vsevolod Strukchinsky 11680b1b68 Explicit Error classes 9 years ago
Vsevolod Strukchinsky 12c3cf53db Remove unnecessary variable 9 years ago
Vsevolod Strukchinsky 8768176829 Small simplifications 9 years ago
Vsevolod Strukchinsky b38a7975cc Use unzip-response to unzip stream 9 years ago
Vsevolod Strukchinsky 00a9129b85 Add helpers for stream API 9 years ago
Vsevolod Strukchinsky a1eb3f7801 Move setImmediate closer to sync event 9 years ago
Vsevolod Strukchinsky 16f93eaff1 Quick shims 9 years ago
Vsevolod Strukchinsky 04dbc4b728 Add Promise API 9 years ago
Vsevolod Strukchinsky 63d95b6316 Drop infinity-agent 9 years ago
Vsevolod Strukchinsky b9c33aa64e Reselect agent on redirect from http to https 9 years ago
Sindre Sorhus 29e7e958fb use the node builtin status codes 9 years ago
Vsevolod Strukchinsky 79f1390727 Emit response event only on final request 9 years ago
Connor Hindley 312c80d82c do not parse json on a 204 response 9 years ago
Vsevolod Strukchinsky d7a66baac7 Try pathname, if no path is specified 9 years ago