Sindre Sorhus
c7f3795681
Merge pull request #34 from floatdrop/master
Up read-all-stream to 1.0.0
10 years ago
Vsevolod Strukchinsky
93b6b7815f
🆙 read-all-stream to 1.0.0
10 years ago
Sindre Sorhus
c05add501c
minor tweaks
10 years ago
Sindre Sorhus
50d5f1aa9c
Merge pull request #33 from kevva/tweaks
Various tweaks
10 years ago
Kevin Martensson
a0985a62ec
Various tweaks
10 years ago
Sindre Sorhus
82c75239f6
Update readme.md
10 years ago
Sindre Sorhus
1cf18d8843
Merge pull request #32 from floatdrop/infinity-agent-0.2
Use infinity-agent if defaultMaxSockets is 5
10 years ago
Vsevolod Strukchinsky
69276c8eba
Use infinity-agent if defaultMaxSockets is 5
10 years ago
Sindre Sorhus
c616d256ae
2.3.0
10 years ago
Sindre Sorhus
65b693bd80
minor tweaks
10 years ago
Sindre Sorhus
0b6d7da87a
support protocol-less URLs
10 years ago
Sindre Sorhus
ed2c26cb8e
document working with proxies - fixes #7
10 years ago
Vsevolod Strukchinsky
79d9870646
Add test on empty POST response
To ensure https://github.com/substack/hyperquest/issues/33
10 years ago
Sindre Sorhus
939534d31a
Merge pull request #30 from floatdrop/fix-agent
Set maxSockets to Infinity by default
10 years ago
Sindre Sorhus
2d746ab8c1
add @floatdrop to package.json
10 years ago
Vsevolod Strukchinsky
5d5d0cc6e2
Use agents with maxSockets set to Infinity
Closes #22
10 years ago
Sindre Sorhus
5bf15e037d
Merge pull request #31 from floatdrop/discard-before-throw
Discard response before throw
10 years ago
Vsevolod Strukchinsky
81d0697ae4
Discard response before throw
This will not leave hanging sockets for 2 minutes (if server does not provide `Connection: close` header). Downside of it - you will not get content of 3xx response, but almost always it does not contain anything.
10 years ago
Sindre Sorhus
7e1cac254f
Merge pull request #29 from floatdrop/use-pem-for-certs
Use pem for generating certificates
10 years ago
Vsevolod Strukchinsky
539cc2b845
Use pem for generating certificates
Closes #23
10 years ago
Vsevolod Strukchinsky
24301d54a6
Remove {agent: false} in tests
Where it is not needed
10 years ago
Vsevolod Strukchinsky
d532ed4366
Merge pull request #28 from floatdrop/test-on-relative-redirect
Add test on relative redirect
10 years ago
Vsevolod Strukchinsky
44f624a5bd
Add test on relative redirect
10 years ago
Sindre Sorhus
f55c5ae82a
Merge pull request #27 from floatdrop/discard-response-on-redirect
Discard response payload on redirect response
10 years ago
Vsevolod Strukchinsky
1f9281f27d
Discard response payload on redirect response
10 years ago
Sindre Sorhus
6625d84ac3
Merge pull request #26 from floatdrop/accept-readable-stream-in-body-option
Add readable streams support in options.body
10 years ago
Vsevolod Strukchinsky
7693a7d645
Add readable streams support in options.body
10 years ago
Sindre Sorhus
3f87b8553b
Merge pull request #25 from floatdrop/rewrite-redirect-condition
Change order of comparsions and header check
10 years ago
Vsevolod Strukchinsky
45bb21b9c9
Change order of comparsions and header check
This could speed up most common case (2xx response)
10 years ago
Sindre Sorhus
c5d3f46674
readme tweaks
10 years ago
Sindre Sorhus
2512c36ced
Merge pull request #20 from floatdrop/tape-tests
Switch to tape for testing
10 years ago
Vsevolod Strukchinsky
d61333015f
Migration from mocha to tape
10 years ago
Vsevolod Strukchinsky
fa010fa5b4
update readme.md
* remove Related section (as sent is deprecated)
* add PATCH
10 years ago
Sindre Sorhus
009b973bf3
2.2.0
10 years ago
Sindre Sorhus
a1525f8edd
implement got as WritableStream on PATCH too
followup to c080439382
10 years ago
Sindre Sorhus
1483895159
implement shortcut methods for all the HTTP verbs
10 years ago
Sindre Sorhus
bcbeb516e7
Merge pull request #19 from floatdrop/writable-stream
Implement got as WritableStream on POST and PUT
10 years ago
Vsevolod Strukchinsky
c080439382
Implement got as WritableStream on POST and PUT
Closes #16
* Add shortcuts for POST and PUT methods
* Throw error on write attempt with options.body
10 years ago
Sindre Sorhus
5a7944a589
2.1.0
10 years ago
Sindre Sorhus
6669c2ceaf
Merge pull request #17 from floatdrop/update-timed-out
Update timed-out to get nice error.messages
10 years ago
Vsevolod Strukchinsky
aa63cbb1b3
Up timed-out to get nice error.messages
10 years ago
Vsevolod Strukchinsky
2c8ee3fc91
Close #15 PR: Implement body option.
10 years ago
Sindre Sorhus
b4a05e441d
2.0.0
10 years ago
Sindre Sorhus
bf410f45ce
bump deps
10 years ago
Sindre Sorhus
47cb2e81c1
readme tweaks
10 years ago
Sindre Sorhus
a0b907c561
Merge pull request #14 from floatdrop/timeout
Add timeout option
10 years ago
Vsevolod Strukchinsky
14e0dd8892
Add timeout option
Closes #13
10 years ago
Vsevolod Strukchinsky
6c7ddf80d7
Merge pull request #12 from sindresorhus/read-response-on-error
Read response stream even if status is not 200
10 years ago
Vsevolod Strukchinsky
cef2daacb5
Read response stream even if status is not 200
10 years ago
Vsevolod Strukchinsky
8175ef086c
Merge pull request #11 from sindresorhus/do-not-destroy-response
Remove res.destroy and move read code to static method
10 years ago