OXIESEC PANEL
- Current Dir:
/
/
snap
/
certbot
/
4737
/
lib
/
python3.12
/
site-packages
/
urllib3
/
contrib
/
emscripten
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📄
__init__.py
733 bytes
06/12/2025 06:19:37 PM
rw-r--r--
📁
__pycache__
-
06/12/2025 06:19:48 PM
rwxr-xr-x
📄
connection.py
8.57 KB
06/12/2025 06:19:37 PM
rw-r--r--
📄
emscripten_fetch_worker.js
3.57 KB
06/12/2025 06:19:37 PM
rw-r--r--
📄
fetch.py
22.33 KB
06/12/2025 06:19:37 PM
rw-r--r--
📄
request.py
566 bytes
06/12/2025 06:19:37 PM
rw-r--r--
📄
response.py
9.28 KB
06/12/2025 06:19:37 PM
rw-r--r--
Editing: __init__.py
Close
from __future__ import annotations import urllib3.connection from ...connectionpool import HTTPConnectionPool, HTTPSConnectionPool from .connection import EmscriptenHTTPConnection, EmscriptenHTTPSConnection def inject_into_urllib3() -> None: # override connection classes to use emscripten specific classes # n.b. mypy complains about the overriding of classes below # if it isn't ignored HTTPConnectionPool.ConnectionCls = EmscriptenHTTPConnection HTTPSConnectionPool.ConnectionCls = EmscriptenHTTPSConnection urllib3.connection.HTTPConnection = EmscriptenHTTPConnection # type: ignore[misc,assignment] urllib3.connection.HTTPSConnection = EmscriptenHTTPSConnection # type: ignore[misc,assignment]