Skip to content
Myr

__init__.py

This file

Path

http3/__init__.py

62 lines · 1.3 KiB · Python

Last changed by

Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed

History of this file

Take it

1from .__version__ import __description__, __title__, __version__2from .api import delete, get, head, options, patch, post, put, request3from .client import AsyncClient, Client4from .concurrency import AsyncioBackend5from .config import (6    USER_AGENT,7    CertTypes,8    PoolLimits,9    SSLConfig,10    TimeoutConfig,11    TimeoutTypes,12    VerifyTypes,13)14from .dispatch.connection import HTTPConnection15from .dispatch.connection_pool import ConnectionPool16from .exceptions import (17    ConnectTimeout,18    CookieConflict,19    DecodingError,20    InvalidURL,21    PoolTimeout,22    ProtocolError,23    ReadTimeout,24    RedirectBodyUnavailable,25    RedirectLoop,26    ResponseClosed,27    ResponseNotRead,28    StreamConsumed,29    Timeout,30    TooManyRedirects,31    WriteTimeout,32)33from .interfaces import (34    AsyncDispatcher,35    BaseReader,36    BaseWriter,37    ConcurrencyBackend,38    Dispatcher,39    Protocol,40)41from .models import (42    URL,43    AsyncRequest,44    AsyncRequestData,45    AsyncResponse,46    AsyncResponseContent,47    AuthTypes,48    Cookies,49    CookieTypes,50    Headers,51    HeaderTypes,52    Origin,53    QueryParams,54    QueryParamTypes,55    Request,56    RequestData,57    RequestFiles,58    Response,59    ResponseContent,60    URLTypes,61)62from .status_codes import StatusCode, codes