We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7c2fe commit 7657bbaCopy full SHA for 7657bba
1 file changed
src/httpc/_client.py
@@ -16,7 +16,7 @@
16
Limits,
17
)
18
19
-from ._base import logger
+from ._base import HEADERS, logger
20
from ._parse import Response
21
22
if typing.TYPE_CHECKING:
@@ -74,7 +74,7 @@ def __init__(
74
super().__init__(
75
auth=auth,
76
params=params,
77
- headers=headers,
+ headers=headers or HEADERS,
78
cookies=cookies,
79
verify=verify,
80
cert=cert,
@@ -530,7 +530,7 @@ def __init__(
530
531
532
533
534
535
536
0 commit comments