SILENT KILLERPanel

Current Path: > > opt > hc_python > > > lib > > python3.12 > site-packages > urllib3 > > contrib > > > emscripten


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.8
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/hc_python///lib//python3.12/site-packages/urllib3//contrib///emscripten

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 733 bytes April 04 2025 08:09:05.
connection.py File 8771 bytes April 04 2025 08:09:05.
emscripten_fetch_worker.js File 3655 bytes April 04 2025 08:09:05.
fetch.py File 22867 bytes April 04 2025 08:09:05.
request.py File 566 bytes April 04 2025 08:09:05.
response.py File 9981 bytes April 04 2025 08:09:05.

Reading File: //opt/hc_python///lib//python3.12/site-packages/urllib3//contrib///emscripten/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

SILENT KILLER Tool