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

有关UserAgent后面的Sonic/2.0.0的问题 #354

Open
heroszcy opened this issue May 12, 2020 · 0 comments
Open

有关UserAgent后面的Sonic/2.0.0的问题 #354

heroszcy opened this issue May 12, 2020 · 0 comments

Comments

@heroszcy
Copy link

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

  1. 使用sonic框架加载H5页面
  2. 抓包
  3. 发现请求的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,有什么方法可以除去掉呢?

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