Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/http/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Http 解码奇怪的用户代理头_Http_User Agent - Fatal编程技术网

Http 解码奇怪的用户代理头

Http 解码奇怪的用户代理头,http,user-agent,Http,User Agent,在我的项目中,我们在html/js中有一个奇怪的bug,我们很难在登台环境中模仿它,所以一旦我们检测到这个bug,我们就开始跟踪一些东西,包括用户代理头 所以现在我很难解读其中的一些: mozilla/5.0 windows nt 10.0 wow64 applewebkit/537.36 khtml mozilla/5.0 windows nt 10.0 win64 x64 applewebkit/537.36 khtml mozilla/5.0 windows nt 6.1 win64 x6

在我的项目中,我们在html/js中有一个奇怪的bug,我们很难在登台环境中模仿它,所以一旦我们检测到这个bug,我们就开始跟踪一些东西,包括用户代理头

所以现在我很难解读其中的一些:

mozilla/5.0 windows nt 10.0 wow64 applewebkit/537.36 khtml
mozilla/5.0 windows nt 10.0 win64 x64 applewebkit/537.36 khtml
mozilla/5.0 windows nt 6.1 win64 x64 applewebkit/537.36 khtml
mozilla/5.0 windows nt 6.1 wow64 applewebkit/537.36 khtml
mozilla/5.0 windows nt 6.3 wow64 applewebkit/537.36 khtml

我可以清楚地看到这些是windows机器,非IE,非Egde浏览器。Firefox和Chrome也有不同的用户代理。但到底是什么呢?也许它是一个具有某种特权/无轨迹设置/附加功能的浏览器?

ISSUE是固定的、奇怪的用户代理,实际上是google chrome浏览器

我们通过statsd java客户端使用datadog度量和标记来收集这些错误。似乎标记中的逗号(例如chrome用户代理)导致标记的其余部分被删除


不确定是datadog还是statsd客户端出错。

这里有一些有价值的信息