Comments (1)
ofetch supports only the following content type:
Lines 24 to 31 in f27660e
If the provided response type is other than those, it assumes that blob
should be returned.
Lines 44 to 66 in f27660e
By the way, to be honest as a developer, although I don't know your situation in detail, it's no longer recommended to use JSONP for security reasons.
I will leave it to you: close as not planned or keep opened.
from ofetch.
Related Issues (20)
- feat: support a way to modify fetcher default options on the fly HOT 3
- Access Request info in interceptors hooks HOT 6
- Fix package.json for react-native HOT 1
- Add an option to allow http errors HOT 2
- Automatically sending JSON in POST is not working as expected HOT 1
- Nuxt3 use default options HOT 9
- Stream and pipe resources with responseType: 'stream' HOT 1
- TypeError: Property 'status' does not exist on type 'FetchResponse<any> & FetchResponse<"json">'.ts(2339) HOT 2
- request default headers not added when using custom headers HOT 2
- Agent did not support on node latest LTS (v18.14.2) HOT 5
- Any way to support `onUploadProgress` like axios does? HOT 2
- Exported variable 'X' has or is using name 'ResponseMap' from external module HOT 3
- What does the 'response' option mean? HOT 1
- How to `return response` in `interceptors` HOT 11
- 关于请求的时候,get请求不能添加body ,所以请内部解决调一下 HOT 1
- add race condition resolve HOT 1
- Infinity loading in Stackblitz HOT 3
- Error type is different if `responseType: "blob"` is specified HOT 2
- Incompatibility with Next.js Edge API runtime using `edge-light` condition HOT 1
- Supprot Gzip HOT 1
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 ofetch.