We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
new OkHttpClient.Builder() .dns(new HttpDns()) .addInterceptor(new HeadInterceptor()) .addInterceptor(new TokenInterceptor()) .readTimeout(TIME_OUT, TimeUnit.MILLISECONDS) .cache(cache) .build(); new HttpDns() lookup 正常返回List,但是最终发出去的请求并没有被替换host,这是为什么
The text was updated successfully, but these errors were encountered:
可以在Interceptor 与 networkInterceptor中 打断点调测一下。不太明白你的Host是什么意思,本来HTTP请求就不用替换Host。
Sorry, something went wrong.
No branches or pull requests
new OkHttpClient.Builder()
.dns(new HttpDns())
.addInterceptor(new HeadInterceptor())
.addInterceptor(new TokenInterceptor())
.readTimeout(TIME_OUT, TimeUnit.MILLISECONDS)
.cache(cache)
.build();
new HttpDns() lookup 正常返回List,但是最终发出去的请求并没有被替换host,这是为什么
The text was updated successfully, but these errors were encountered: