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

Android Demo的请求responsecode是301 #343

Open
usernicky opened this issue Dec 24, 2019 · 1 comment
Open

Android Demo的请求responsecode是301 #343

usernicky opened this issue Dec 24, 2019 · 1 comment

Comments

@usernicky
Copy link

What steps will reproduce the problem?
该问题的重现步骤是什么?

  1. demo里的url或者我更换为随便一个url如“www.sina.com”,responsecode都是301
  2. handleFlow_Connection -> responseCode = server.getResponseCode();

What is the expected output? What do you see instead?
你期待的结果是什么?实际看到的又是什么?
期待:我想测试一下预加载,在webview初始化完毕之后,shouldInterceptRequest拦截,研究onClientRequestResource拼接流的过程
实际发生:每次打开加载网页的时候,返回301,webview初始化完毕,shouldInterceptRequest拦截的时候都是返回null重新加载。
What version of the product are you using? On what operating system?
你正在使用产品的哪个版本?在什么操作系统上?
2019.12.20 github的 Android demo
试了几部手机都会,华为7.0,摩托罗拉5.0等

Please provide any additional information below.
如果有的话,请在下面提供更多信息。

@usernicky
Copy link
Author

301导致根本没法研究合并流的过程

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