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

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

line 1why, one step back
1from .__version__ import __description__, __title__, __version__

http3 (#86)Tom Christiebefore adoptionc9747aa

lines 2–5why, one step back
2from .api import delete, get, head, options, patch, post, put, request
3from .client import AsyncClient, Client4from .concurrency import AsyncioBackend5from .config import (

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

line 6why, one step back
6 USER_AGENT,

http3 (#86)Tom Christiebefore adoptionc9747aa

lines 7–43why, one step back
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,

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

line 44why, one step back
44 AsyncRequestData,

http3 (#86)Tom Christiebefore adoptionc9747aa

line 45why, one step back
45 AsyncResponse,

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

lines 46–47why, one step back
46 AsyncResponseContent,
47 AuthTypes,

http3 (#86)Tom Christiebefore adoptionc9747aa

line 48why, one step back
48 Cookies,

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

line 49why, one step back
49 CookieTypes,

http3 (#86)Tom Christiebefore adoptionc9747aa

line 50why, one step back
50 Headers,

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

line 51why, one step back
51 HeaderTypes,

http3 (#86)Tom Christiebefore adoptionc9747aa

lines 52–53why, one step back
52 Origin,
53 QueryParams,

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

line 54why, one step back
54 QueryParamTypes,

http3 (#86)Tom Christiebefore adoptionc9747aa

line 55why, one step back
55 Request,

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

lines 56–57why, one step back
56 RequestData,
57 RequestFiles,

http3 (#86)Tom Christiebefore adoptionc9747aa

line 58why, one step back
58 Response,

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

lines 59–60why, one step back
59 ResponseContent,
60 URLTypes,

http3 (#86)Tom Christiebefore adoptionc9747aa

lines 61–62why, one step back
61)
62from .status_codes import StatusCode, codes