diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-01-29 20:37:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 20:37:59 +0100 |
commit | 280ddf57b0f54d1805f1ee26aa699469019e731f (patch) | |
tree | cabcbf5fa9a5dbf75a223377dbf032cfeb3e1027 /g4f/defaults.py | |
parent | Merge pull request #1523 from u66u/which-webdriver (diff) | |
parent | Improve readme / unittests (diff) | |
download | gpt4free-280ddf57b0f54d1805f1ee26aa699469019e731f.tar gpt4free-280ddf57b0f54d1805f1ee26aa699469019e731f.tar.gz gpt4free-280ddf57b0f54d1805f1ee26aa699469019e731f.tar.bz2 gpt4free-280ddf57b0f54d1805f1ee26aa699469019e731f.tar.lz gpt4free-280ddf57b0f54d1805f1ee26aa699469019e731f.tar.xz gpt4free-280ddf57b0f54d1805f1ee26aa699469019e731f.tar.zst gpt4free-280ddf57b0f54d1805f1ee26aa699469019e731f.zip |
Diffstat (limited to 'g4f/defaults.py')
-rw-r--r-- | g4f/defaults.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/g4f/defaults.py b/g4f/defaults.py new file mode 100644 index 00000000..6ae6d7eb --- /dev/null +++ b/g4f/defaults.py @@ -0,0 +1,13 @@ +DEFAULT_HEADERS = { + 'Accept': '*/*', + 'Accept-Encoding': 'gzip, deflate, br', + 'Accept-Language': 'en-US', + 'Connection': 'keep-alive', + 'Sec-Ch-Ua': '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"', + 'Sec-Ch-Ua-Mobile': '?0', + 'Sec-Ch-Ua-Platform': '"Windows"', + 'Sec-Fetch-Dest': 'empty', + 'Sec-Fetch-Mode': 'cors', + 'Sec-Fetch-Site': 'same-site', + 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36' +}
\ No newline at end of file |