got
got copied to clipboard
🌐 Human-friendly and powerful HTTP request library for Node.js
#### What would you like to discuss? traffic aka total bytes made within one request. ... #### Checklist - [x] I have read the documentation.
#### Describe the bug - Node.js version: v20.8.1 - OS & version: Windows 10 #### Actual behavior `Response` returned rather than a json response.   ... #### Expected behavior...
#### What problem are you trying to solve? Support `servername` https option. This alows user to send requests to servers that don't have a proper domain name, but use a...
#### What problem are you trying to solve? I am trying to write a hook that (automatically) first tries an HTTPS version of a website, and then if it fails,...
#### Describe the bug - Node.js version: 20 - OS & version: macOS 14 `got` hangs on revalidated cached response. That is, a response gets revalidated because `max-age` is reached,...
#### What problem are you trying to solve? I am receiving the following error after upgrading to Node 18: `RequestError: write EPROTO C0F7F892E27F0000:error:0A000152:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:../deps/openssl/openssl/ssl/statem/extensions.c:922:` #### Describe the...
[Bun](https://bun.sh) throws error on this line https://github.com/sindresorhus/got/blob/944caa8ce8151d7b18ab17c4130b18d622c04ebe/source/core/index.ts#L219C3-L224C1
#### What would you like to discuss? Hello there. I'm calling my own api for a healthcheck. Obviously getting a "ECONNREFUSED" error when the api isn't available. But I can't...
#### Describe the bug Setting the statusCodes property on retry should ensure that only responses which match that code are retried. However I am seeing retries for statusCodes not specified....
#### Describe the bug - Node.js version: 19.8.1 - OS & version: `Darwin devchris-mac.home 22.5.0 Darwin Kernel Version 22.5.0: Fri Mar 17 14:37:58 PDT 2023; root:xnu-8796.120.16~15/RELEASE_X86_64 x86_64` Today, I don't...