Update user agent
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2020-12-20 15:11:47 +01:00
parent b62ed4b34e
commit 89d11f147f

View File

@ -113,7 +113,7 @@ def curl_content(url, params=None, ajax=False, debug=True):
'cmd': 'request.%s' % method,
'url': url,
'session': cloudproxy_session,
'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.0 Safari/537.36',
'userAgent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0',
'postData': '%s' % urlencode(params) if (method == 'post') else ''
}))