X7ROOT File Manager
Current Path:
/opt/hc_python/lib/python3.12/site-packages/urllib3/contrib/emscripten
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
urllib3
/
contrib
/
emscripten
/
📁
..
📄
__init__.py
(733 B)
📁
__pycache__
📄
connection.py
(8.57 KB)
📄
emscripten_fetch_worker.js
(3.57 KB)
📄
fetch.py
(22.33 KB)
📄
request.py
(566 B)
📄
response.py
(9.75 KB)
Editing: request.py
from __future__ import annotations from dataclasses import dataclass, field from ..._base_connection import _TYPE_BODY @dataclass class EmscriptenRequest: method: str url: str params: dict[str, str] | None = None body: _TYPE_BODY | None = None headers: dict[str, str] = field(default_factory=dict) timeout: float = 0 decode_content: bool = True def set_header(self, name: str, value: str) -> None: self.headers[name.capitalize()] = value def set_body(self, body: _TYPE_BODY | None) -> None: self.body = body
Upload File
Create Folder