Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0808e8b commit 9c7c80bCopy full SHA for 9c7c80b
Task/baidu_speed.js
@@ -566,7 +566,7 @@ function showmsg() {
566
function GetCookie() {
567
if ($request && $request.method != 'OPTIONS' && $request.url.match(/\/activity\/h5\/vault/)) {
568
const CookieVal = $request.headers.Cookie
569
- const UA = $request.headers.User-Agent
+ const UA = $request.headers['User-Agent']
570
$.log(`CookieVal:${CookieVal}`)
571
if (CookieVal) $.setdata(CookieVal, 'bdspeed');
572
if (UA) $.setdata(UA, 'bd_Agent')
0 commit comments