Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/sindresorhus/got
🌐 Human-friendly and powerful HTTP request library for Node.js
https://github.com/sindresorhus/got
a11c8edac1b19ca82e93d6e7dd6ec290cab75135 authored almost 10 years ago
f16f5b8b66f98fc449ef7cad84df76fbb8d5195d authored almost 10 years ago
6757c4c37b107bf404bcbc819982c9e12d589203 authored almost 10 years ago
Improve error message on not 2xx code
c968d5b7daeb64e09b26f58c4b2954f6eb2d6652 authored almost 10 years agoCloses #38
ef8bdeb22655e06ebe320b580bb0eae4d03f336d authored almost 10 years agoAdd test on Host header
b13f84287f2581977094aac025798dc2c778db69 authored about 10 years agoCloses #36
768158bd29e5e62d683780328bacd4f24a5f5c9e authored about 10 years agoe535190af9f301612295d11fc8756d2f4f6f9dbb authored about 10 years ago
https://github.com/sindresorhus/lowercase-keys
e91768606cae2e5b96b74a46af79597eff40e363 authored about 10 years agoAdd basic tests on request headers
6f322fef95a36a116a14208ce0b2208f11efedca authored about 10 years ago8639e533b57bd472338c4ef74fb819292dfea1d3 authored about 10 years ago
also make sure the user supplied object is never modified by us
d7737c7490b883ce78ceb4fefca1dbae3619a7c3 authored about 10 years ago2a61a7a695741bbc736a8abe80db0c627e403814 authored about 10 years ago
Up read-all-stream to 1.0.0
c7f37956817a7a020814aa6720bdc98a39f1c0bb authored about 10 years ago93b6b7815f29657d7a105e7006ebc9e038b2232a authored about 10 years ago
c05add501cb724ed6f09120789d94f99f5dad645 authored about 10 years ago
Various tweaks
50d5f1aa9c244165e82df8a47a0ef4f48850e78a authored about 10 years agoa0985a62ecdc0cd5cd34f05b67a5ef7705235d80 authored about 10 years ago
82c75239f6a7baad18bfaed9f08ad7f26283cda7 authored about 10 years ago
Use infinity-agent if defaultMaxSockets is 5
1cf18d8843aacfd151c55f3f28b13c4927cbf7d1 authored about 10 years ago69276c8eba49f4276ed95a38d29cf05703af7336 authored about 10 years ago
c616d256ae67cb78ce41fbfaa2e04f6e5dff0594 authored about 10 years ago
0b6d7da87a5bedd8ef1cc8343687f64d66d768cb authored about 10 years ago
ed2c26cb8ea217db9b30cdac692c22fb7a404b63 authored about 10 years ago
65b693bd80ee61259dd26f6fd372bf3d2d0cadb8 authored about 10 years ago
To ensure https://github.com/substack/hyperquest/issues/33
79d9870646d46b1af9b5778cb773fc797613dab9 authored about 10 years agoSet maxSockets to Infinity by default
939534d31a37edf733cfe46fd4f53308c426b975 authored about 10 years ago2d746ab8c1e8a760d029047098cbd7de57e05f46 authored about 10 years ago
Closes #22
5d5d0cc6e26192f45ec8c7816cce93355293aa2d authored about 10 years agoDiscard response before throw
5bf15e037daeeaa439ce99ee63f415d95e840969 authored about 10 years agoThis will not leave hanging sockets for 2 minutes (if server does not provide `Connection: close...
81d0697ae4acb66d88b0f1cdd1aa503dbb0be3a3 authored about 10 years agoUse pem for generating certificates
7e1cac254fb265712b4a9192f80d080f75fcc5ff authored about 10 years agoCloses #23
539cc2b8458a9028aa8a0b5f827d8564374b87f8 authored about 10 years agoWhere it is not needed
24301d54a67087c76d5adf6e951b3e0295e66622 authored about 10 years agoAdd test on relative redirect
d532ed43660c9ef809b386338a19604e2ef8bb6e authored about 10 years ago44f624a5bdafaae8ba3ceefab9e7332a65c63489 authored about 10 years ago
Discard response payload on redirect response
f55c5ae82a135a145b774be83b804441a3c59ff4 authored about 10 years ago1f9281f27d437e3bf06eb3ad0929f708e8d53507 authored about 10 years ago
Add readable streams support in options.body
6625d84ac3f7ee69f8491e7c6d6ed54ef31220ce authored about 10 years ago7693a7d645740e7a1d2f17f04310eb7d183bcaae authored about 10 years ago
Change order of comparsions and header check
3f87b8553b051ae79e65ca6b8319ea8aa09569b6 authored about 10 years agoThis could speed up most common case (2xx response)
45bb21b9c9ea2b4c7cbfeb29c0e77a6d95f2b345 authored about 10 years agoc5d3f466747236e4866bb0971d2e7ab261069499 authored about 10 years ago
Switch to tape for testing
2512c36cedbff6c04627e93205164ff690834afc authored about 10 years agod61333015f6695d6a9fbe883b500cc9221c6e161 authored about 10 years ago
* remove Related section (as sent is deprecated)
* add PATCH
009b973bf313c9721fe8c015090c38270c3cd13d authored about 10 years ago
followup to c080439382f1619fc664fcdb81788e4466d94b0e
a1525f8edde8b6f814d56ee6bba4a10ea978ed52 authored about 10 years ago1483895159ab3c0cf014cbc7939bb0d7eebcebab authored about 10 years ago
Implement got as WritableStream on POST and PUT
bcbeb516e7b25d99ad5bd50915f18ddc7b1f8278 authored about 10 years agoCloses #16
* Add shortcuts for POST and PUT methods
* Throw error on write attempt with optio...
5a7944a5892d710cefd33ca48ba5f696d9de60df authored about 10 years ago
Update timed-out to get nice error.messages
6669c2ceafbe629bdab3cff8368a8347b95969f2 authored about 10 years agoaa63cbb1b305381ebd006b4982e9a945a09bea23 authored about 10 years ago
2c8ee3fc913ed6f3ce9a70cc2c1a9db736356449 authored about 10 years ago
b4a05e441d5a5f730f0b2e58c3cce1f36ed44a73 authored about 10 years ago
bf410f45ced9183abeb6b11eb16646f1020eb884 authored about 10 years ago
47cb2e81c1524d6ffec2f613c852d0c845f26683 authored about 10 years ago
Add timeout option
a0b907c5615fc2bd38079e4f0198808d83bd753a authored about 10 years agoRead response stream even if status is not 200
6c7ddf80d71f64eaccd71594ff10ccdd82bced3d authored about 10 years agocef2daacb55882dac46b8007fe14142fa29bfaed authored about 10 years ago
Remove res.destroy and move read code to static method
8175ef086c26d40470b1e3d5d870d0c00bbd6bd1 authored about 10 years ago015785bccf6983e35b246f8a2e4429eeaab9cf11 authored over 10 years ago
Return an error object on connection failure
be933b6ad4bf311aff10ee1a707e4f9ccdeed9db authored over 10 years agoFixes #9.
4a6b6d7cc7a6f3d97f4e55ab07900bb9206a6da2 authored over 10 years ago51b1b90b2636dae4b8f33211fa347a9c92838910 authored over 10 years ago
4e5875cccda9ed7b130312a7caa29604b8159d45 authored over 10 years ago
df87ffc5c56554ad0d6907d49abcdc9076c46d16 authored over 10 years ago
a2501bf122dcc87410d17b3fb0c2c605f0a89d7f authored over 10 years ago
9969aa9582224f22eac19fba395bc2e943ec1f75 authored over 10 years ago
6519020b3084d389f6c7f66e20dfb73c9cfae758 authored over 10 years ago
98063aa442f389d7787b262a29629df7294e19da authored over 10 years ago
2e238e96f0cc0277d7c672d623a002931a746186 authored over 10 years ago
287f3e1be26d367bed9d110bff2ae3670baf0431 authored over 10 years ago
Stream mode (fix #1).
d5d69f41d02b0f17080bbbfeeb863346d0fe0344 authored over 10 years ago92d6abf9c635e719790d5b7ebcaf8867e58a1987 authored over 10 years ago
89e93578089beaa068119828b21e2874c60938bf authored over 10 years ago
1213b16a68dc6bf277641d562398be502fe545de authored over 10 years ago
Encoding support (fix #4).
68c91676eb2520f03632ecc8616e2971024aeaa4 authored over 10 years agob67918c7a379e27953f7a0b33f65303130d63adc authored over 10 years ago
37322366c7e85c898fbc9bf92bd32afa9a228aae authored over 10 years ago
Check that res.statusCode in 200..299 range
745b1b9e41f485308886bcf74f3e16110977189c authored over 10 years agoe7359757b1e0a25e4cadac94347c6fcf8c780c5e authored over 10 years ago
9a593acd8412f5e412f0e7e6044a88a5ea93ca90 authored over 10 years ago
719292ea854fa95916ed7540ef727b9c2baab148 authored over 10 years ago
Passing response object to callback
f472e70b26f1bdd74f8fae482fbd3025d1105b0e authored over 10 years agoa8995f7da0111bbbefa17414afcf2c4267dc5c3d authored over 10 years ago
bc6987517edb1dfe54fc495f9b84a9df4b9f1f7c authored over 10 years ago
b7a9c3ef49b7ef081096d8e85171134f7c5b82e0 authored over 10 years ago
1b3aca9ab7cc27f00ca80ab67c917678cd29b56b authored over 10 years ago
so it's possible to call the github api without being forced to specify it
ce1ef7db34b520462df47b73dc431d964198f2ec authored over 10 years ago32b0c033e26594a36b16ab7305e4ec5e54972cc1 authored almost 11 years ago
21121688cb516c81c1d6422dac2695b25c1a9f1b authored almost 11 years ago
98d1263b1331573dbc6c3110addb038dc5804bb8 authored almost 11 years ago
8fa9b33536750f2c0acd1f4df4918d944daf3577 authored almost 11 years ago
1e7746d8c44a75ee9ec8ed94356dd5e8ba9c3bc2 authored almost 11 years ago
f9436f5e5863d39f180032687447d9dbe7721dbb authored almost 11 years ago