Tencent / VasSonic

VasSonic is a lightweight and high-performance Hybrid framework developed by tencent VAS team, which is intended to speed up the first screen of websites working on Android and iOS platform.
Other
11.8k stars 1.61k forks source link

Android Demo的请求responsecode是301 #343

Open usernicky opened 4 years ago

usernicky commented 4 years ago

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 commented 4 years ago

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