sindresorhus/
Tiny and elegant HTTP client based on the browser Fetch API
USD raised
Recent activities
beforeError hook isn't called on 500 responses
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'headers')
FormData & Files Encoding
Compatibility issue with Cloudflare Worker
Content-Type detection
response.clone(...).arrayBuffer is not a function
ky response is an empty string sometimes
Support for SSL client certificate in Nodejs undici
Retries on timeout
Best way to handle Fetch errors such as Failed to fetch, NetworkError when attempting to fetch resource, etc.
Passing { next: { revalidate, tags } } options to ky does not work in NextJS edge (at least with dev server)
POST request fails in Astro.js API route
Not compatibility with Cloudflare Workers
Content-length header is sent to the server with empty value in Next.js 13 route handler.
Possible to get retryCount from afterResponse() or beforeError() hooks
Support retry delay with jitter?
add hook for handling `TimeoutError`
Options are overwritten if json is available.
Custom retry delay?
beforeRequest hook called after beforeRetry
TypeError: The "emitter" argument must be an instance of EventEmitter or EventTarget. Received an instance of AbortSignal
Allow to specify timeout for single request in additional for total timeout including retries
Want to stop or fetch/get token values inside hooks
Setting searchParams to URLSearchParams both in create() and get() doesn't merge them correctly
ky sending empty request when evaluated by PageSpeed
Ky vs Got (in 2023)
Getting error while trying to use KY to fetch data in NEXTJS 13 Server APIs 'TypeError: Cannot construct a Request with a Request object that has already been used.'
improve documentation for generic parameters in README
Using "Retry-After" with error code 425 is impossible
response.body is a readable stream instead of response body
Improve documentation and create a website
referrerPolicy is unset if json is used
Only clone response on retries, not first try?
[feature request] add init hook (similar to got)
Automatically send CSRF token from CSRF cookie on a header
0 bytes received, no exception
Extend Hooks during Ky.extend
Change the default request mode to avoid CORS confusion
Retry option is invalid for back-end server
Several retry problems
Allow beforeRequest hooks to proceed after request change
Allow providing custom global methods
Sending form data fails on Deno 1.13.2
Accept empty responses on `json` response type
ky.get().json() throws, while ky.get().then(r => r.json()) does not in jest tests
beforeRequestFn processing changed after 0.28.2 > 0.28.3 upgrade
Expose timings on response
Should `status = 0` be considered `ok` for `mode: no-cors`-requests?
Allow beforeRetry hooks to replace the request or response
[feature request] add hook onNetworkError
[Feature Request] Support undefined or null value in `searchParams`?
prefixUrl is unneededly applied to absolute urls
afterResponse hook stops response from resolving
.json() maximum size/length?
Write a test for request cancellation on timeout
Duplicate retries when using Chromium
.json() method does not execute for failing API response
Add upload progress callback
Port tests from Got
Handle errors in afterResponse hook
Some of the Got issues that could be applied to Ky
Set accept header for ky shortcut methods
Support accessing to options in response hook
Support accessing options in afterResponse hook
Ky function does not accept arbitrary method Typescript typings
request object in beforeRequest hook doesnt contain searchParams
`Promise.race()` breaks debugging
Searching for ky
Add `onProgress` option
Comparison table
Progress events
Stream API
© 2019 BoostIO, Inc.