| Current Path : /proc/self/root/opt/imh-python/lib/python3.9/site-packages/uvicorn/protocols/http/ |
| Current File : //proc/self/root/opt/imh-python/lib/python3.9/site-packages/uvicorn/protocols/http/auto.py |
from __future__ import annotations
import asyncio
AutoHTTPProtocol: type[asyncio.Protocol]
try:
import httptools # noqa
except ImportError: # pragma: no cover
from uvicorn.protocols.http.h11_impl import H11Protocol
AutoHTTPProtocol = H11Protocol
else: # pragma: no cover
from uvicorn.protocols.http.httptools_impl import HttpToolsProtocol
AutoHTTPProtocol = HttpToolsProtocol