Comments (4)
from dio.
长时间没回复,先关了,若有问题再打开
from dio.
响应头中的content-type不为json,为text/html;charset=utf-8,,dio设置ResponseType能转为json吗
from dio.
默认不能,除非你自定义一个transformer, 自定义transformer比较简单,示例可以在项目示例目录中找到。或者在响应拦截器中手动转一下。
from dio.
Related Issues (20)
- SocketException: Connection reset by peer (OS Error: Connection reset by peer, errno = 104), address = XXXX, port = 49440 HOT 2
- Docs for merging between `Options` and `BaseOptions` are not clear HOT 12
- Cookie manager path match error HOT 1
- When using Dio in a web environment, there needs to be a way to disable Dio’s automatic cookie setting HOT 8
- Prompt for not simple requests on Web HOT 2
- DioException response.data is null HOT 1
- [native_dio_adapter] Windows build breaks when adding package HOT 1
- DioException (DioException [connection error]: The connection errored: Connection reset by peer This indicates an error which most likely cannot be solved by the library. HOT 3
- Add privacy manifest file for iOS HOT 1
- incorrect formatting when parsing `multipart` form data using `FormData.fromMap()` causes `NullReferenceException` in .NET backend HOT 2
- I can't return my own errors class in onError interceptor HOT 1
- RFC - Custom DNS Resolver HOT 2
- I can't use MediaType when I create MultipartFile HOT 1
- Update for wasm HOT 1
- Implement automatic redirects for requests regardless of the `HttpClient` HOT 1
- Migrating browser_adapter.dart for WASM HOT 2
- Remove the message 'The request was manually cancelled by the user.' for canceltoken.cancel() HOT 1
- Target of URI doesn't exist: 'package:dio/adapter.dart'. Try creating the file referenced by the URI, or try using a URI for a file that does exist. HOT 1
- Dio (HttpClient) cannot set a self-signed trust certificate HOT 4
- [Proposal] Improve toString() of InterceptorState
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 dio.