97 Commits (9fefbb3c02f1e61b5f5679d66d90bc92c5650c0f)

Author SHA1 Message Date
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
Vsevolod Strukchinsky 2e4b9f51f2 fix code-style 10 years ago
Vsevolod Strukchinsky a0913bc13c add body option validation 10 years ago
Vsevolod Strukchinsky 3e2b535819 cleanup test-helpers file 10 years ago
Vsevolod Strukchinsky 718bacdd3f Add test on get helper method 10 years ago
Vsevolod Strukchinsky 0765c848ec Add test on deep-nested errors 10 years ago
Kevin Martensson 403fefa01a Use camelCase names 10 years ago
Vsevolod Strukchinsky 3f215fc80d Fix test on dns error message 10 years ago
Vsevolod Strukchinsky e07977d18c Add tests on nested errors 10 years ago
Vsevolod Strukchinsky 7da072b608 Parse non-200 responses when options.json is true 10 years ago
Vsevolod Strukchinsky f8057d24fc Add json option 10 years ago
Vsevolod Strukchinsky 9fa2c95151 Add test on GET with bodies 10 years ago
Vsevolod Strukchinsky 26b1174bed Use nested-error-stacks to provide more detailed errors 10 years ago
Vsevolod Strukchinsky 46d0d4a4f4 Fix flanky test on timeout option 10 years ago
Vsevolod Strukchinsky 646e81c46c Add test on stream body in Stream mode 10 years ago
Kevin Martensson 929cb59857 Emit `response` event 10 years ago
Vsevolod Strukchinsky ef8bdeb226 Improve error message on not 2xx code 10 years ago
Vsevolod Strukchinsky 768158bd29 Add test on Host header 10 years ago
Vsevolod Strukchinsky 8639e533b5 Add basic tests on request headers 10 years ago
Sindre Sorhus 65b693bd80 minor tweaks 10 years ago
Sindre Sorhus 0b6d7da87a support protocol-less URLs 10 years ago
Vsevolod Strukchinsky 79d9870646 Add test on empty POST response 10 years ago
Vsevolod Strukchinsky 5d5d0cc6e2 Use agents with maxSockets set to Infinity 10 years ago
Vsevolod Strukchinsky 81d0697ae4 Discard response before throw 10 years ago
Vsevolod Strukchinsky 539cc2b845 Use pem for generating certificates 10 years ago
Vsevolod Strukchinsky 24301d54a6 Remove {agent: false} in tests 10 years ago
Vsevolod Strukchinsky 44f624a5bd Add test on relative redirect 10 years ago
Vsevolod Strukchinsky 7693a7d645 Add readable streams support in options.body 10 years ago
Vsevolod Strukchinsky d61333015f Migration from mocha to tape 10 years ago