Skip to content

Commit 6d557fa

Browse files
author
Ryan Kagin
committed
Adding cert-based proxy authentication to proxy configuration options
1 parent 6255be0 commit 6d557fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

censys/common/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ def __init__(
100100
if cookies:
101101
self._session.cookies.update(cookies)
102102
self.request_id = kwargs.get("request_id")
103+
if kwargs.get('verify'):
104+
self._session.verify = kwargs.get('verify')
105+
if kwargs.get('cert'):
106+
self._session.cert = kwargs.get('cert')
103107
self._session.headers.update(
104108
{
105109
"accept": "application/json, */8",

0 commit comments

Comments
 (0)