This commit is contained in:
macbook_max
2026-10-15 20:36:59 +08:00
commit 6bf949949c
7923 changed files with 1369582 additions and 0 deletions
@@ -0,0 +1,13 @@
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."""