Skip to content
#

fetch

Here are 1,319 public repositories matching this topic...

swr
ahmedelgabri
ahmedelgabri commented Jan 13, 2020

A bit of context, we introduced swr two weeks ago to our codebase. Everything is working fine, but we started to get some reports about some parts of the app being broken in slightly older browsers (Chrome 49, Firefox 59, Edge 18, etc…)

We found out that swr was causing a syntax error in these browsers because webpack by default picked the ESM build (rightly so) but because it's not transp

kirillgroshkov
kirillgroshkov commented May 13, 2020

I've read many similar closed issues, but haven't found a good documented solution on what can I do as a consumer of ky package if I need to support e.g iOS 10.0 browser (that breaks on async/await support currently).

I agree that it's not related to ky itself, but can be a nice help for the consumers of the package.

In our particular can we don't use babel (we use typescript), so I'm

node-fetch
tinovyatkin
tinovyatkin commented Jun 12, 2020

node-fetch currently completely ignoring Content-Length header while consuming response.
Fetch specification about handling Content-Length on server response says almost nothing:
https://fetch.spec.whatwg.org/#concept-http-network-fetch (see whatwg/fetch#67)

On other hand, we have a fetch-node specific extension to limit the size of the response.

My prop

Improve this page

Add a description, image, and links to the fetch topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the fetch topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.