mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-10 19:11:01 +00:00
29 lines
1.1 KiB
Python
29 lines
1.1 KiB
Python
DEFAULT_HEADERS = {
|
|
"sec-ch-ua": '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"',
|
|
"sec-ch-ua-mobile": "?0",
|
|
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
|
|
"ec-ch-ua-arch": '"x86"',
|
|
"sec-ch-ua-full-version": '"122.0.6261.69"',
|
|
"accept": "*/*",
|
|
"sec-ch-ua-platform-version:": '"6.5.0"',
|
|
"sec-ch-ua-full-version-list": '"Chromium";v="122.0.6261.69", "Not(A:Brand";v="24.0.0.0", "Google Chrome";v="122.0.6261.69"',
|
|
"sec-ch-ua-bitness": '"64"',
|
|
"sec-ch-ua-model": '""',
|
|
"sec-ch-ua-platform": '"Windows"',
|
|
"sec-fetch-site": "same-site",
|
|
"sec-fetch-mode": "cors",
|
|
"sec-fetch-dest": "empty",
|
|
"referer": "",
|
|
"accept-encoding": "gzip, deflate, br",
|
|
"accept-language": "en-US",
|
|
}
|
|
WEBVIEW_HAEDERS = {
|
|
"Accept": "*/*",
|
|
"Accept-Encoding": "gzip, deflate, br",
|
|
"Accept-Language": "",
|
|
"Referer": "",
|
|
"Sec-Fetch-Dest": "empty",
|
|
"Sec-Fetch-Mode": "cors",
|
|
"Sec-Fetch-Site": "same-origin",
|
|
"User-Agent": "",
|
|
} |