This commit is contained in:
parent
b62ed4b34e
commit
89d11f147f
@ -113,7 +113,7 @@ def curl_content(url, params=None, ajax=False, debug=True):
|
|||||||
'cmd': 'request.%s' % method,
|
'cmd': 'request.%s' % method,
|
||||||
'url': url,
|
'url': url,
|
||||||
'session': cloudproxy_session,
|
'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 ''
|
'postData': '%s' % urlencode(params) if (method == 'post') else ''
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user