Comments (3)
I'll look at your example little later, but I have some tips to suggest:
Check that site you're trying to access sends CORS headers. This may be an issue because browsers have a security mechanic to prevent malicious access to data on another domain (e.g. disallow random site from using Google API to read your emails).
On IO platforms (Android, Windows, iOS, Mac) this is not an issue because executable app have direct access to TCP/IP stack and not a subject to such restrictions.
from fetch_client.
Just checked, yes your host does not supply CORS for requests. You have 2 options:
- Use a different host for your testing
- Use CORS proxy while testing the app
from fetch_client.
Thank you so much for your prompt and useful response!
from fetch_client.
Related Issues (17)
- Usage with muli-platform apps HOT 1
- Support for flow control? HOT 12
- NotSupportedError: ReadableStream uploading is not supported HOT 1
- Upgrade http to ^1.0.0 HOT 1
- Large payload with keep alive (default) causes errors HOT 9
- Failed to fetch stream on web HOT 6
- FetchClient(mode: RequestMode.cors) error HOT 8
- Instance of 'Headers Iterator': type 'JavaScriptObject' is not a subtype of type 'Iterator0<any>' HOT 1
- StreamedRequest Fails on Large File Upload in Chrome When Tab Not in Focus HOT 7
- Error: Expected a value of type 'Iterator', but got one of type 'DomIterator' HOT 11
- Backwards compatibility HOT 4
- Automatically setting persistentConnection to false if request size > 64KiB HOT 5
- Support backpressure via stream pausing
- is there anything I can contribute with in fetch_client package HOT 1
- [BUG] The timeout setting will be invalid when the server does not return data HOT 5
- Safari browser unable to load mjpeg HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fetch_client.