diff --git a/browsermobproxy/client.py b/browsermobproxy/client.py index 8a3dd3b..19dd309 100644 --- a/browsermobproxy/client.py +++ b/browsermobproxy/client.py @@ -28,7 +28,7 @@ def __init__(self, url, params=None, options=None): if 'existing_proxy_port_to_use' in options: self.port = options['existing_proxy_port_to_use'] else: - resp = requests.post('%s/proxy' % self.host + urlparams) + resp = requests.post('%s/proxy' % self.host + urlparams, {"trustAllServers": True}) content = resp.content.decode('utf-8') try: jcontent = json.loads(content)