Coder Social home page Coder Social logo

Comments (5)

NateYip avatar NateYip commented on June 11, 2024 1

同样的问题

from fetch-event-source.

NateYip avatar NateYip commented on June 11, 2024

不只是苹果端 移动端貌似QQ浏览器都有问题

from fetch-event-source.

Xuan-Yu-San avatar Xuan-Yu-San commented on June 11, 2024

在这些浏览器里,fetch都不是native code,而是polyfill。polyfill的fetch是用xhr模拟的,主流的xhr模拟是没有实现body的。如果想要的话需要自己实现,这个项目是支持自定义fetch传入的,实现后传进去就好。

from fetch-event-source.

zyhui98 avatar zyhui98 commented on June 11, 2024

使用node v18.14.1 , 就可用自带的fetch

[email protected] ,竟然ReadableStream.getReader(),提示方法不存在,坑的很

from fetch-event-source.

zhuxiwen avatar zhuxiwen commented on June 11, 2024

在这些浏览器里,fetch都不是native code,而是polyfill。polyfill的fetch是用xhr模拟的,主流的xhr模拟是没有实现body的。如果想要的话需要自己实现,这个项目是支持自定义fetch传入的,实现后传进去就好。

谢谢,cv了你的代码,没问题了。:)
6edc0d6

from fetch-event-source.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.