109 Commits (856b4caf16b02ce28ef0d92e83cf434a50b71e84)

Author SHA1 Message Date
Vsevolod Strukchinsky 382a0cfdd3 fix url and responseUrl properties on gzip'ed response 8 years ago
Kevin Mårtensson 40b26a96fa Add `url` to response (#236) 8 years ago
Kevin Mårtensson 5c712720cb Add `requestUrl` to response in streaming mode (#230) 8 years ago
bisubus 3709fe95d2 allow non-plain object as request body (#217) 9 years ago
Sindre Sorhus 8a0caecf73 bump dependencies 9 years ago
Kevin Martensson e7158670c8 Add test for unexpected EOF when decompressing content 9 years ago
Dylan Piercey 3713879aaf Detect formdata body and set content-type header (#220) 9 years ago
Sindre Sorhus 87d984d671 bump dependencies 9 years ago
Luan Muniz 1273326f1a Add a `requestUrl` property to the response object (#205) 9 years ago
Roland Warmerdam 0dae0a838d Add redirect url to response object (#191) 9 years ago
Ruy Adorno fc57c70835 Added option to toggle automatic following redirects 9 years ago
André Cruz 93c430c105 Add statusCode to ParseError, closes #182. 9 years ago
Luigi Pinca 50ae11370e parse the response body only if it is not empty 9 years ago
birhoff b70e40b1e7 Close #171 PR: Fix user-agent string RFC 2616 Section 14.43. Fixes #169 9 years ago
Vsevolod Strukchinsky 9497e07506 convert method to uppercase in options 9 years ago
Vsevolod Strukchinsky 43a6ea5cdf check for callback in stream mode in helpers 9 years ago
Vsevolod Strukchinsky 59aa1d3a1d pass error to retries option 9 years ago
Vsevolod Strukchinsky 16a6e08b11 add test on head method with gzip decoding 9 years ago
Vsevolod Strukchinsky a10a99e8ae accept backoff function in retry option 9 years ago
Sindre Sorhus 28ddd68a7c some more test fixes 9 years ago
Sindre Sorhus 6ad66e9ccc fix previously uncaught test failure 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
Sindre Sorhus 32d9077a76 bump `get-port` 9 years ago
Sindre Sorhus 7ebcd93ced pify tweaks 9 years ago
Sindre Sorhus ef2c114f90 ⬆️ ava@0.3.0 9 years ago
Vsevolod Strukchinsky f7ab59459e correct exception spelling 9 years ago
Vsevolod Strukchinsky 013a2b57f8 missing tests on options 9 years ago
Vsevolod Strukchinsky ce752ac2ff getting ready for new ava release 9 years ago
Vsevolod Strukchinsky e237ca142d promisify _server.js 9 years ago
Vsevolod Strukchinsky 501f71fa74 Pify pem module 9 years ago
Vsevolod Strukchinsky e2ee4ab645 Revert test on helper + callback 9 years ago
Vsevolod Strukchinsky f7500d474e Rewrite tests with async/await 💖 9 years ago
Vsevolod Strukchinsky 9ffbbdf5ab Deferred response event 9 years ago
Vsevolod Strukchinsky 9b9d359138 Speed up tests 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
Sindre Sorhus c8e0e04723 rename test files 10 years ago
Sindre Sorhus a03201fb16 ES2015ify the tests 10 years ago
Vsevolod Strukchinsky f57a5e89f8 move from tap to ava 10 years ago
Vsevolod Strukchinsky df26918b3d throw when callback is passed to stream mode 10 years ago
Vsevolod Strukchinsky 0109725b74 workaround throwing in promise mode 10 years ago
vdemedes 3182234d0e allow requests via unix domain socket 10 years ago
Vsevolod Strukchinsky e0863dcce9 pass errors in stream mode 10 years ago
Sindre Sorhus 5c1e976b2f add XO 10 years ago
Sindre Sorhus e944467ed5 improve error output on invalid JSON 10 years ago
Vsevolod Strukchinsky bdc1bfb2b8 Do not assign to undefined response 10 years ago
Vsevolod Strukchinsky e1cbaf200b Do not override content-type when body is plain object 10 years ago