80 Commits (ce752ac2ff689660c3a2cb424606f0a5dc4cf697)

Author SHA1 Message Date
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 9 years ago
Sindre Sorhus a03201fb16 ES2015ify the tests 9 years ago
Vsevolod Strukchinsky f57a5e89f8 move from tap to ava 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 10 years ago
Vsevolod Strukchinsky e0863dcce9 pass errors in stream mode 9 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
Vsevolod Strukchinsky 7bea9c4d33 Stringify plain Object in body as application/x-www-form-urlencoded 10 years ago
Sindre Sorhus 0ee286b86c `from2-array` => `into-stream` 10 years ago
Sindre Sorhus ebf303a8d5 catch errors in the tests 10 years ago
Sindre Sorhus 082f4fd1d9 💄 10 years ago
Vsevolod Strukchinsky 11680b1b68 Explicit Error classes 10 years ago
Vsevolod Strukchinsky 00a9129b85 Add helpers for stream API 10 years ago
Vsevolod Strukchinsky 04dbc4b728 Add Promise API 10 years ago
Vsevolod Strukchinsky b9c33aa64e Reselect agent on redirect from http to https 10 years ago
Sindre Sorhus 29e7e958fb use the node builtin status codes 10 years ago
Connor Hindley 312c80d82c do not parse json on a 204 response 10 years ago
Vsevolod Strukchinsky d7a66baac7 Try pathname, if no path is specified 10 years ago
Vsevolod Strukchinsky b7d4f8caca Simplify get function and opts/arg juggling 10 years ago
Vsevolod Strukchinsky b3452765cc Add test on pathname in arguments 10 years ago
Vsevolod Strukchinsky 87d98e1f46 Add content-length header in POST 10 years ago
Sindre Sorhus 41d147baaf minor code style improvements 10 years ago
Vsevolod Strukchinsky 7adc122895 Use node-tap@1.0.0 10 years ago
Kirill Solovev f94dcec259 Add accept: application/json header if json option is set 10 years ago
Kirill Solovev e56f91373a Access to body of non-200 responses in stream mode 10 years ago
Sindre Sorhus 6bde68ea79 💄 10 years ago
Sindre Sorhus 0092c982d1 💄 10 years ago
Vsevolod Strukchinsky 52490b2e88 Implement redirect event 10 years ago
Vsevolod Strukchinsky 2302a1e6e5 auto-redirect only on GET and HEAD methods 10 years ago
Vsevolod Strukchinsky 0797e46608 small fixes in validation 10 years ago
Vsevolod Strukchinsky 1e5993a799 fix query option on redirect 10 years ago
Vsevolod Strukchinsky 9e64b03f17 add test on host+port in options 10 years ago
Vsevolod Strukchinsky 6b015692aa throw exception, if url is not string or object 10 years ago
Vsevolod Strukchinsky 53df1ca251 Add query option 10 years ago
Vsevolod Strukchinsky 47da1181a5 Accept http.request object as first argument 10 years ago
Vsevolod Strukchinsky c6b04f2734 add test on headers in gzipped response 10 years ago