Dio: 请求状态码414怎么处理?

Created on 30 Oct 2019  ·  7Comments  ·  Source: flutterchina/dio

I/ViewRootImpl(20960): jank_removeInvalidNode all the node in jank list is out of time
E/flutter (20960): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: DioError [DioErrorType.RESPONSE]: Http status error [414]

stale

Most helpful comment

data 放到query parameter了

All 7 comments

我需要提交一些base64的图片,单个请求长度超出了限制,dio状态返回414.请问这个如何解决?

@wprater @trevorwang @hpoul @passsy
麻烦帮我看这我的问题。谢谢。
image
image

Please solve it, i want to implement on my production app

what am i having to do with all this?

data 放到query parameter了

是的,应该放到data里

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings