sindresorhus/
Tiny and elegant HTTP client based on the browser Fetch API
USD raised
Recent activities
Add the timeout type option
Orphan ReadableStream remaining after retry
A ReadableStream branch was created but never consumed
Next.js Build Fails with 400 Bad Request After 202 Pages When Using ky, Works with fetch
Modifying FormData body in beforeRequest hook does not work
Memory leak with deno/bun when catching errors
Add generic for HTTPError to type the response
Allow for logging network errors and JSON parse errors
New request in afterResponse hook with formData content
feat: consider cookiejar support
Refresh token with ky: 2 calls instead of 1
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'headers')
FormData & Files Encoding
Support per-request timeouts that trigger retries
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)
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?
Pass `TimeoutError`s to `beforeError` hooks
beforeRequest hook called after beforeRetry
Allow to specify timeout for single request in additional for total timeout including retries
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
Documentation for beforeError has incorrect usage of response.body
Improve documentation and create a website
[feature request] add init hook (similar to got)
0 bytes received, no exception
Allow beforeRequest hooks to proceed after updating request
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
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
Errors thrown by hooks should be treated as fatal
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.