Vsevolod Strukchinsky
123a10f18b
Merge pull request #41 from sindresorhus/emit-response
Emit `response` event
10 years ago
Kevin Martensson
929cb59857
Emit `response` event
10 years ago
Kevin Martensson
8873df99f7
Remove trailing space
10 years ago
Sindre Sorhus
ef989fa555
readme - add note about setting 'user-agent' header
10 years ago
Sindre Sorhus
a11c8edac1
Update readme.md
10 years ago
Sindre Sorhus
f16f5b8b66
Update .travis.yml
10 years ago
Sindre Sorhus
6757c4c37b
2.4.0
10 years ago
Sindre Sorhus
c968d5b7da
Merge pull request #39 from floatdrop/master
Improve error message on not 2xx code
10 years ago
Vsevolod Strukchinsky
ef8bdeb226
Improve error message on not 2xx code
Closes #38
10 years ago
Vsevolod Strukchinsky
b13f84287f
Merge pull request #37 from floatdrop/master
Add test on Host header
10 years ago
Vsevolod Strukchinsky
768158bd29
Add test on Host header
Closes #36
10 years ago
Sindre Sorhus
e535190af9
2.3.2
10 years ago
Sindre Sorhus
e91768606c
extract the key lowercasing to a separate module
https://github.com/sindresorhus/lowercase-keys
10 years ago
Sindre Sorhus
6f322fef95
Merge pull request #35 from floatdrop/master
Add basic tests on request headers
10 years ago
Vsevolod Strukchinsky
8639e533b5
Add basic tests on request headers
10 years ago
Sindre Sorhus
d7737c7490
prevent duplicates of different casing in `opts.headers`
also make sure the user supplied object is never modified by us
10 years ago
Sindre Sorhus
2a61a7a695
2.3.1
10 years ago
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