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

关于header参数修改后面下载的任务无效怎么处理 #338

Open
17679416879 opened this issue Aug 18, 2021 · 0 comments
Open

关于header参数修改后面下载的任务无效怎么处理 #338

17679416879 opened this issue Aug 18, 2021 · 0 comments

Comments

@17679416879
Copy link

下载地址需要验证根据下载任务的作品生成特殊的header校验通过才能下载成功
我自定义了一个OkHttpClientFactoryImpl在其中添加了拦截器增加header
只有第一次下载的任务能够校验通过 第二次下载的任务调用setOkHttpClientFacotry后 RetrofitClient内的 okHttpClientFactory头部参数并没有发生修改
由于是之前的java版本 请问这个问题如何实时修改header参数更新?

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

1 participant