New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not compatibility with Cloudflare Workers #519
Comments
Crazy that this is still an issue. Which wrapper around fetch can anyone recommend? |
@haverstack/axios-fetch-adapter works for me. |
axios weight is huge. It's not the a good thing for my use case |
@XantreGodlike Do you want give a try of xior ? gzip less than 3kb |
@suhaotian it's fixed in |
@XantreGodlike Nice! xior use fetch too, similar axios API, if you want more plugins, xior is your choice.. Thanks reply :) |
Trace: Error: The 'credentials' field on 'RequestInitializerDict' is not implemented.
And
Your worker created multiple branches of a single stream (for instance, by calling
response.clone()
orrequest.clone()
) but did not read the body of both branches. This is wasteful, as it forces the system to buffer the entire stream of data in memory, rather than streaming it through. This may cause your worker to be unexpectedly terminated for going over the memory limit. If you only meant to copy the request or response headers and metadata (e.g. in order to be able to modify them), use the appropriate constructors instead (for instance,new Response(response.body, response)
,new Request(request)
, etc).The text was updated successfully, but these errors were encountered: