Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议Option新增followRedirects参数 #56

Closed
creatint opened this issue Aug 27, 2018 · 1 comment
Closed

建议Option新增followRedirects参数 #56

creatint opened this issue Aug 27, 2018 · 1 comment

Comments

@creatint
Copy link

有时需要获得301的location数据,而不是自动处理跳转。
Option增加这个参数之后,在dio.dart里加入下面的代码,就能实现了
request.followRedirects = options.followRedirects;

wendux pushed a commit that referenced this issue Sep 3, 2018
@wendux
Copy link
Contributor

wendux commented Sep 3, 2018

已支持,请升级到最新版本

@wendux wendux closed this as completed Sep 6, 2018
wendux pushed a commit that referenced this issue May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants