Загрузить файлы в «venv/Lib/site-packages/httptools/parser»
This commit is contained in:
13
venv/Lib/site-packages/httptools/parser/url_parser.pyi
Normal file
13
venv/Lib/site-packages/httptools/parser/url_parser.pyi
Normal file
@@ -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."""
|
||||
Reference in New Issue
Block a user