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

readme improvements

75cbd917fb42b69152e5e0ab06e188f1f65ecee1 authored over 9 years ago
bump deps

ef033073838b8785c31083502e85cc9905aca991 authored over 9 years ago
use the node builtin status codes

29e7e958fba0ce889988ed54ae80777d292fbb34 authored over 9 years ago
Emit response event only on final request

Closes #75

79f1390727dc2845969d1361fbf71c8975e5e3f0 authored over 9 years ago
Merge pull request #78 from connyay/handle-empty-json-response

Handle empty response (204)

2a155a8f4f61a9d10db5e79aa7fc27df334e161b authored over 9 years ago
do not parse json on a 204 response

312c80d82cd0472d009914fe8ffeebf06637e9c3 authored over 9 years ago
3.3.0

3c728bc664cf0dd9dd4f77643b4e4a2878f86e9e authored over 9 years ago
Add notice about options in `url` object

634a7440cefaea15f76e6e7c1b21303629004331 authored over 9 years ago
Merge pull request #77 from sindresorhus/path-vs-pathname

Code cleanup and pathname issue

ee6b3ad4f8c8c7331a4196f91a52120cbc293f49 authored over 9 years ago
Try pathname, if no path is specified

Closes #72

d7a66baac7bb3c0915b921997e401adf4718baaf authored over 9 years ago
Simplify get function and opts/arg juggling

Parse url at the top of got function and work with request object all the way down.
This reduces...

b7d4f8caca90655036e78d5793101fa80d19e1d3 authored over 9 years ago
Add test on pathname in arguments

Test-case for #72

b3452765cc66e0d00c3f9f6d1051165a2071fddb authored over 9 years ago
Merge pull request #76 from sindresorhus/content-length

Add content-length header in POST

ef840f7c508e53c582035aebc2416968b2a8acaa authored over 9 years ago
Add content-length header in POST

If:
- not already defined
- 'transfer-encoding' is not used
- body is not Stream

Closes #71

87d98e1f46103044b2152886435a1b97203add32 authored over 9 years ago
Move all code for options.body in one place

3c06cca0025791385860142ee39d95a684812969 authored over 9 years ago
Add error event in documentation

Closes #74

c1923e1494f7770209890874cf47d52197f6cd42 authored over 9 years ago
minor code style improvements

41d147baaf395025025bfd4ec639c4a22a0a7b5e authored over 9 years ago
use `is-redirect` module

550c63fcbecae7c62241954c9d905effab2521f9 authored over 9 years ago
make git treat .ai as binary

ec19e8eff1352acc725bf742da9a8ba61d823e31 authored over 9 years ago
add `Created by` section to readme

Thanks for all the great work you've been doing on this module @floatdrop :)

c3ec7b7903468d056ad05d02b37f6a0d664b9607 authored over 9 years ago
Merge pull request #65 from sindresorhus/tap

Use node-tap for tests

ad6c4a49e9a8d045d8ae38bbae0bb5da363d6df7 authored almost 10 years ago
:sparkles: logo :sparkles:

56828cd07c57c8e51090b7f46a15ae04dc5a8b6e authored almost 10 years ago
3.2.0

1fa82fb44810d835eb090ca28af7b72a9e6be527 authored almost 10 years ago
Merge pull request #63 from km256/add-accept-header

Add accept: application/json header if json option is set

03a53021753ac9be4a9d5838cea2bc97c15198b7 authored almost 10 years ago
Add accept: application/json header if json option is set

f94dcec259585ef92928a55ec9f122b3721a7ab6 authored almost 10 years ago
3.1.0

1a59f479d9ea35e2fddcf0cf2c5c5250a0c52b27 authored almost 10 years ago
Merge pull request #62 from km256/response-body-in-error-event

Access to body of non-200 responses in stream mode

a987e51b0809c9b086e3423193b256e02e70e4fd authored almost 10 years ago
Access to body of non-200 responses in stream mode

e56f91373a2d794b61c9ec6084a0fac391235e47 authored almost 10 years ago
:lipstick:

6bde68ea79c3547ef7103b346cc8f688b2dadef3 authored almost 10 years ago
TODO is a bad pattern

e3897a0bc0a6ce74ddabf4a4311aca1996c87295 authored almost 10 years ago
:lipstick:

0092c982d11689dc145a8baba943d405868eaa25 authored almost 10 years ago
3.0.0

d611ac5faada0389640af789c91c3906525d1a02 authored almost 10 years ago
Merge pull request #59 from sindresorhus/redirect-event

Implement redirect event

6fd9cd5001270f16cd6e0e6a4020003796a4af0a authored almost 10 years ago
Implement redirect event

Closes #58

52490b2e88f263ab8abfb9498cb65575f3a15b01 authored almost 10 years ago
Merge pull request #57 from sindresorhus/redirect-only-get-head

auto-redirect only on GET and HEAD methods

94387b131400168fcfa0287e66074002637decf5 authored almost 10 years ago
auto-redirect only on GET and HEAD methods

2302a1e6e584f0b4a64bc6c0b16c72c645cd3cb7 authored almost 10 years ago
2.9.2

a982c75a235fe4a64f5557763758580c5a393ee3 authored almost 10 years ago
Merge pull request #56 from sindresorhus/fix-host-in-options

fix redirects for host/port etc... in options

ab47254ca45d6332b0593e7fc996422c9b4e52a0 authored almost 10 years ago
fix redirects for host/port etc... in options

95add9554227d7a4dbb3637f3b51a699031b6769 authored almost 10 years ago
small fixes in validation

0797e46608752c09b2388fd16c9da579a83c1054 authored almost 10 years ago
2.9.1

e10f3b0b820a9d5e921e781ad8da016fd0d07cf5 authored almost 10 years ago
fix query option on redirect

1e5993a79903f4d87035bef0e7fd14876205ff29 authored almost 10 years ago
fix query removal from opts

be47ce7168fda1583616059d5afd4f88ae94e8ed authored almost 10 years ago
remove timeout and query from opts

d7b1e51a5e9cfe85b566176d40f592f1e6db70bd authored almost 10 years ago
Merge pull request #54 from floatdrop/host-port-in-options-test

Host or path in options breaks redirects

d26edbd8c4fda839e94f0e009b0325a0cb929e84 authored almost 10 years ago
2.9.0

1005cfc39135d9e73e5f8cca5b0b0c9ccc8a6841 authored almost 10 years ago
add test on host+port in options

9e64b03f17b4ff54fcc34e2319e6588cf6ae9984 authored almost 10 years ago
throw exception, if url is not string or object

6b015692aa9dd42f69085c24be5e4bdf450f22de authored almost 10 years ago
resort options in readme

2029c307094184d38f9a85763bc5054ee9ca7c7d authored almost 10 years ago
minor tweaks

f0a3f0c5e49163bd33bdccc5a57f4974f3450fbc authored almost 10 years ago
Merge pull request #53 from floatdrop/query-opt

Add query option

9bc36b0286c4c5443bdcbc275ecf3a9500919455 authored almost 10 years ago
Merge pull request #52 from floatdrop/http-opts

Accept http.request object as first argument

93b99eae22898c5ac84e7d68366b7e76422614ce authored almost 10 years ago
Add query option

53df1ca251fbc0299916d3309ff53df065e97fbe authored almost 10 years ago
Accept http.request object as first argument

47da1181a52501fd30a14ddb43f576043d2bc711 authored almost 10 years ago
tiny fix for consistency

9f14fa61ea4df4cf84d8c93309eb9bf7232b580f authored almost 10 years ago
add test on headers in gzipped response

c6b04f27342e0b61cba686f88e530c9e8eaf563e authored almost 10 years ago
use returned value from pipe method as new response

d615b0bd2bb44118702432f1562d686f45d3a722 authored almost 10 years ago
remove unnecessary if branch

68e0b26e79b74792630fc3b2062171eb2e20253b authored almost 10 years ago
fix code-style

2e4b9f51f2f240ec4d0a8da727660d35347fe2f8 authored almost 10 years ago
add body option validation

Throw nice error about body option,
instead of `first argument must be a string or Buffer`
from ...

a0913bc13c337c03ae9312fe4d851e9a367885aa authored almost 10 years ago
cleanup test-helpers file

3e2b53581986c8df8e6fca30411318fb7d42932c authored almost 10 years ago
Add test on get helper method

718bacdd3fddf736d6e5e0e71460ec5209325f3a authored almost 10 years ago
2.8.1

709b056bd241475c626c3f7038846526095d48a9 authored almost 10 years ago
don't erase callback on helpers methods

https://github.com/sindresorhus/npm-name/issues/2

472752af14d39d04f07073f72b12bcc169cf01db authored almost 10 years ago
2.8.0

63738b527f23b370e0405fb3979863976f438afe authored almost 10 years ago
Merge pull request #49 from sindresorhus/related-got-promise

Add got-promise to related

8a851f2df4b582d2cbef5fc2c3e8310f02814481 authored almost 10 years ago
Update readme.md

4036aed0192c056a9ec894f24bc747df8a9ea09c authored almost 10 years ago
Merge pull request #48 from sindresorhus/infinity-agent-2.0

Use backported agents from Node core

ccbf14a00991cd385954a8ed57c208d8e7257353 authored almost 10 years ago
Use backported agents from Node core

c06d741131cd71a0cc9ca38a960ef5469cc3c1ce authored almost 10 years ago
readme - add `gh-got`

https://github.com/sindresorhus/gh-got

90019e37f24ebbc143ee44ba346108b3761b654b authored almost 10 years ago
don't mutate the user-supplied options object

ae73837301b2b50664e732d2b5bf93847b2b4cb3 authored almost 10 years ago
Add test on deep-nested errors

0765c848ec8287ab7c9db664a019501805b47d05 authored almost 10 years ago
Use camelCase names

403fefa01a60883354a40cadbde12da777a52973 authored almost 10 years ago
Fix test on dns error message

3f215fc80d13a00b6cc1e1438ffce240616d62a6 authored almost 10 years ago
Add tests on nested errors

e07977d18cbdeac04ed44e86dd443ed05a05dfd6 authored almost 10 years ago
2.7.2

42294172307b042dfdb1432ebf24ed51cb7f897c authored almost 10 years ago
Fix nested error on json parse

82fa89c54dd7b4e0b63054d2dad97509f0ef28c8 authored almost 10 years ago
2.7.1

a790ee2527dc52d9902aff7574ad5165fbc05907 authored almost 10 years ago
Merge pull request #47 from sindresorhus/parse-non-200-jsons

Parse non-200 responses when options.json is true

ce8b7f3a36753c5d7b89d7ba958be9a032685ba7 authored almost 10 years ago
Parse non-200 responses when options.json is true

Closes #46

7da072b60898269490a1d3ef27a1c1ddad0c30a3 authored almost 10 years ago
2.7.0

abdd0f09606fa4c79b277d2b637a9aa47b9c9643 authored almost 10 years ago
Merge pull request #45 from sindresorhus/json-option

Add json option

ef78510bef4ec79639c49e56e86f28e63c48bd12 authored almost 10 years ago
Add json option

f8057d24fcd8edcb9cf09214d7cf460ad77e7ae2 authored almost 10 years ago
readme - tweak notice

e9352261a4f6a0d488cd90a43afd638548374c27 authored almost 10 years ago
readme - link to 0.12 sources

5539bd380613ca8871d443cdcf71a72e6ac08beb authored almost 10 years ago
Add test on GET with bodies

Ensures that https://github.com/tomas/needle/issues/115 will work

9fa2c951510befc0b4a7060bc2160241a95f73bd authored almost 10 years ago
2.6.0

86b869730780c14e6be39136758ac98d740949f7 authored almost 10 years ago
Merge pull request #43 from floatdrop/nested-errors

Improved errors

540072c0890b5141d10e851c4d8138aa68e105d6 authored almost 10 years ago
Use nested-error-stacks to provide more detailed errors

26b1174bedf903202f9cc3cb3bb7ea63db888d7b authored almost 10 years ago
Update read-all-stream to @^2.0.0

This release fixes got freezes on unzip error

3e55aa613708472537ba4d3cf5fb1923ec5ec5f0 authored almost 10 years ago
Fix flanky test on timeout option

46d0d4a4f404d633beb4a5235cf2fec1e9b4fc1a authored almost 10 years ago
Merge pull request #42 from floatdrop/coverage

Add test on stream body in Stream mode

1556085c13a46cb53a1dfaa66347823961cff35e authored almost 10 years ago
Add test on stream body in Stream mode

Also switched to tape for running tests. Istanbul dont' play well with taper.

646e81c46cdf37e0be9ebe46d05f65e7e60ba5dc authored almost 10 years ago
Unnecessary .call on callback

2b58c4499f85bbe7c3dfa51791c3e3d508a773ae authored almost 10 years ago
2.5.0

9f81a55b62e419f8bc41ebdb363faafdf250fd06 authored almost 10 years ago
Merge pull request #41 from sindresorhus/emit-response

Emit `response` event

123a10f18b25ab27f8db0a96c2e5d3ed1defd4d7 authored almost 10 years ago
Emit `response` event

929cb59857848c1c14e470baca9a1ae204d0be8b authored almost 10 years ago
Remove trailing space

8873df99f77abe5f9fe68f6ef083ba8a7ccbc1e5 authored almost 10 years ago
readme - add note about setting 'user-agent' header

ef989fa555eb7d5e591ba78663fa4fcbe1713b38 authored almost 10 years ago