Files
shanxia2.0/backend/venv/lib/python3.9/site-packages/httptools/parser/url_parser.pyi
T
2026-07-15 08:05:38 +08:00

14 lines
292 B
Python

from array import array
class URL:
schema: bytes
host: bytes
port: int
path: bytes
query: bytes
fragment: bytes
userinfo: bytes
def parse_url(url: bytes | bytearray | memoryview | array[int]) -> URL:
"""Parse a URL string into a structured Python object."""