Skip to content

Commit e4bba3e

Browse files
committed
Make AsyncSession headers empty by default
1 parent f2de02f commit e4bba3e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

async_tls_client/sessions.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,7 @@ def __init__(
237237
"""
238238
self._session_id = str(uuid.uuid4())
239239
# Standard Settings
240-
self.headers = CaseInsensitiveDict(
241-
{
242-
"User-Agent": f"tls-client/{__version__}",
243-
"Accept-Encoding": "gzip, deflate, br",
244-
"Accept": "*/*",
245-
"Connection": "keep-alive",
246-
}
247-
)
240+
self.headers = CaseInsensitiveDict()
248241
self.proxies = {}
249242
self.params = {}
250243
self.cookies = cookiejar_from_dict({})

0 commit comments

Comments
 (0)