32 Commits (50d5f1aa9c244165e82df8a47a0ef4f48850e78a)

Author SHA1 Message Date
Kevin Martensson a0985a62ec Various tweaks 10 years ago
Sindre Sorhus 65b693bd80 minor tweaks 10 years ago
Sindre Sorhus 0b6d7da87a support protocol-less URLs 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 1f9281f27d Discard response payload on redirect response 10 years ago
Vsevolod Strukchinsky 7693a7d645 Add readable streams support in options.body 10 years ago
Vsevolod Strukchinsky 45bb21b9c9 Change order of comparsions and header check 10 years ago
Sindre Sorhus a1525f8edd implement got as WritableStream on PATCH too 10 years ago
Sindre Sorhus 1483895159 implement shortcut methods for all the HTTP verbs 10 years ago
Vsevolod Strukchinsky c080439382 Implement got as WritableStream on POST and PUT 10 years ago
Vsevolod Strukchinsky 2c8ee3fc91 Close #15 PR: Implement body option. 10 years ago
Vsevolod Strukchinsky 14e0dd8892 Add timeout option 10 years ago
Vsevolod Strukchinsky cef2daacb5 Read response stream even if status is not 200 10 years ago
Vsevolod Strukchinsky 015785bccf Remove res.destroy and move read code to static method 10 years ago
Kevin Martensson 4a6b6d7cc7 Return an error object on connection failure 10 years ago
Sindre Sorhus a2501bf122 tweaks 10 years ago
Julien Fontanet 9969aa9582 Forward errors in proxy mode. 10 years ago
Sindre Sorhus 2e238e96f0 minor style tweaks 10 years ago
Julien Fontanet 92d6abf9c6 Stream mode (fix #1). 10 years ago
Sindre Sorhus 1213b16a68 code style 10 years ago
Julien Fontanet b67918c7a3 Encoding support (fix #4). 10 years ago
Vsevolod Strukchinsky e7359757b1 Check that res.statusCode in 200..299 range 10 years ago
Vsevolod Strukchinsky a8995f7da0 Passing response object to callback 10 years ago
Sindre Sorhus b7a9c3ef49 add gzip/deflate support 11 years ago
Sindre Sorhus 1b3aca9ab7 better error handling 11 years ago
Sindre Sorhus ce1ef7db34 add default `user-agent` 11 years ago
Sindre Sorhus 21121688cb add support for options 11 years ago
Sindre Sorhus 8fa9b33536 manually destroy the socket when not used 11 years ago
Sindre Sorhus f9436f5e58 init 11 years ago