有关UserAgent后面的Sonic/2.0.0的问题
heroszcy opened this issue · comments
What steps will reproduce the problem?
该问题的重现步骤是什么?
- 使用sonic框架加载H5页面
- 抓包
- 发现请求的UserAgent后面会带一个Sonic/2.0.0
What is the expected output? What do you see instead?
你期待的结果是什么?实际看到的又是什么?
期望请求的UserAgent为重写SonicRuntime.getUserAgent()方法返回的内容;
实际会在后面附加一个Sonic/2.0.0。
What version of the product are you using? On what operating system?
你正在使用产品的哪个版本?在什么操作系统上?
2.0.0版本,安卓系统
Please provide any additional information below.
如果有的话,请在下面提供更多信息。
不知道是处于什么考虑要在后面加上Sonic/2.0.0,有什么方法可以除去掉呢?