__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 fileTake it
Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed
line 1why, one step back1from .__version__ import __description__, __title__, __version__http3 (#86)Tom Christiebefore adoptionc9747aa
lines 2–5why, one step back2from .api import delete, get, head, options, patch, post, put, request3from .client import AsyncClient, Client4from .concurrency import AsyncioBackend5from .config import (Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed
line 6why, one step back6 USER_AGENT,http3 (#86)Tom Christiebefore adoptionc9747aa
lines 7–43why, one step back7 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,Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed
line 44why, one step back44 AsyncRequestData,http3 (#86)Tom Christiebefore adoptionc9747aa
line 45why, one step back45 AsyncResponse,Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed
lines 46–47why, one step back46 AsyncResponseContent,47 AuthTypes,http3 (#86)Tom Christiebefore adoptionc9747aa
line 48why, one step back48 Cookies,Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed
line 49why, one step back49 CookieTypes,http3 (#86)Tom Christiebefore adoptionc9747aa
line 50why, one step back50 Headers,Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed
line 51why, one step back51 HeaderTypes,http3 (#86)Tom Christiebefore adoptionc9747aa
lines 52–53why, one step back52 Origin,53 QueryParams,Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed
line 54why, one step back54 QueryParamTypes,http3 (#86)Tom Christiebefore adoptionc9747aa
line 55why, one step back55 Request,Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed
lines 56–57why, one step back56 RequestData,57 RequestFiles,http3 (#86)Tom Christiebefore adoptionc9747aa
line 58why, one step back58 Response,Minor tweaks in line with requests behavior (#110)Tom Christiebefore adoptionfe1f9ed
lines 59–60why, one step back59 ResponseContent,60 URLTypes,http3 (#86)Tom Christiebefore adoptionc9747aa
lines 61–62why, one step back61)62from .status_codes import StatusCode, codes