Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit c8b4ff5

Browse files
committed
Use upstream cert details, use HTTP2
1 parent 5f27924 commit c8b4ff5

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

seleniumwire/server.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
logger = logging.getLogger(__name__)
1414

15-
DEFAULT_UPSTREAM_CERT = False
1615
DEFAULT_STREAM_WEBSOCKETS = True
1716

1817

@@ -57,7 +56,6 @@ def __init__(self, host, port, options):
5756
# Update the options now all addons have been added
5857
mitmproxy_opts.update(
5958
ssl_insecure=options.get('verify_ssl', True),
60-
upstream_cert=DEFAULT_UPSTREAM_CERT,
6159
stream_websockets=DEFAULT_STREAM_WEBSOCKETS,
6260
suppress_connection_errors=options.get('suppress_connection_errors', True),
6361
**self._get_upstream_proxy_args(),

tests/seleniumwire/test_server.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class MitmProxyTest(TestCase):
1010
base_options_update = functools.partial(
1111
call,
1212
ssl_insecure=True,
13-
upstream_cert=False,
1413
stream_websockets=True,
1514
suppress_connection_errors=True,
1615
)

0 commit comments

Comments
 (0)