__init__.py
This file
Path
httpx/__init__.py
101 lines · 2.2 KiB · Python
Last changed by
Map HTTPCore exceptions (#1044)Florimond Mancabefore adoptionbacc2d1
History of this fileTake it
The walk stopped after 200 commits: lines older than bc54dd0 point at it.
Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
line 1why, one step back1from .__version__ import __description__, __title__, __version__Switch to private module names (#785)Florimond Mancabefore adoption82dc6f3
lines 2–6why, one step back2from ._api import delete, get, head, options, patch, post, put, request, stream3from ._auth import Auth, BasicAuth, DigestAuth4from ._client import AsyncClient, Client5from ._config import PoolLimits, Proxy, Timeout6from ._exceptions import (Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
lines 7–8why, one step back7 CloseError,8 ConnectError,Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 9–13why, one step back9 ConnectTimeout,10 CookieConflict,11 DecodingError,12 HTTPError,13 InvalidURL,Adding NetworkError to __init__ (#814)Primož Godecbefore adoption3e12fd0
line 14why, one step back14 NetworkError,Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 15–18why, one step back15 NotRedirectResponse,16 PoolTimeout,17 ProtocolError,18 ProxyError,Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
line 19why, one step back19 ReadError,Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
line 20why, one step back20 ReadTimeout,Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
line 21why, one step back21 RedirectError,Repurpose RedirectBodyUnavailable as RequestBodyUnavailable (#690)Florimond Mancabefore adoption910aa90
line 22why, one step back22 RequestBodyUnavailable,Public Auth API (#732)Tom Christiebefore adoption12dd157
line 23why, one step back23 RequestNotRead,Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 24–26why, one step back24 ResponseClosed,25 ResponseNotRead,26 StreamConsumed,Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
line 27why, one step back27 StreamError,Map HTTPCore exceptions (#1044)Florimond Mancabefore adoptionbacc2d1
line 28why, one step back28 TimeoutException,Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
line 29why, one step back29 TooManyRedirects,Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
line 30why, one step back30 WriteError,Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 31–32why, one step back31 WriteTimeout,32)Switch to private module names (#785)Florimond Mancabefore adoption82dc6f3
lines 33–34why, one step back33from ._models import URL, Cookies, Headers, QueryParams, Request, Response34from ._status_codes import StatusCode, codesTransport API (#963)Yeray Diaz Diazbefore adoptiond2816c9
line 35why, one step back35from ._transports.asgi import ASGIDispatch, ASGITransportAdd urllib3proxy transport to init (#979)Tom Christiebefore adoptionc30acf0
line 36why, one step back36from ._transports.urllib3 import URLLib3ProxyTransport, URLLib3TransportTransport API (#963)Yeray Diaz Diazbefore adoptiond2816c9
line 37why, one step back37from ._transports.wsgi import WSGIDispatch, WSGITransportBackend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 38–53why, one step back3839__all__ = [40 "__description__",41 "__title__",42 "__version__",43 "delete",44 "get",45 "head",46 "options",47 "patch",48 "post",49 "patch",50 "put",51 "request",52 "stream",53 "codes",Reintroduce sync API. (#735)Tom Christiebefore adoptionee37a76
line 54why, one step back54 "ASGIDispatch",Transport API (#963)Yeray Diaz Diazbefore adoptiond2816c9
line 55why, one step back55 "ASGITransport",Rename Client to AsyncClient (with compat synonym) (#680)Florimond Mancabefore adoptione284b84
line 56why, one step back56 "AsyncClient",Public Auth API (#732)Tom Christiebefore adoption12dd157
line 57why, one step back57 "Auth",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 58–61why, one step back58 "BasicAuth",59 "Client",60 "DigestAuth",61 "PoolLimits",Prep for introducing SyncClient (#713)Tom Christiebefore adoptionf17ab37
line 62why, one step back62 "Proxy",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
line 63why, one step back63 "Timeout",Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
lines 64–65why, one step back64 "CloseError",65 "ConnectError",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 66–70why, one step back66 "ConnectTimeout",67 "CookieConflict",68 "DecodingError",69 "HTTPError",70 "InvalidURL",Adding NetworkError to __init__ (#814)Primož Godecbefore adoption3e12fd0
line 71why, one step back71 "NetworkError",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 72–74why, one step back72 "NotRedirectResponse",73 "PoolTimeout",74 "ProtocolError",Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
line 75why, one step back75 "ReadError",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
line 76why, one step back76 "ReadTimeout",Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
line 77why, one step back77 "RedirectError",Repurpose RedirectBodyUnavailable as RequestBodyUnavailable (#690)Florimond Mancabefore adoption910aa90
line 78why, one step back78 "RequestBodyUnavailable",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 79–80why, one step back79 "ResponseClosed",80 "ResponseNotRead",Public Auth API (#732)Tom Christiebefore adoption12dd157
line 81why, one step back81 "RequestNotRead",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
line 82why, one step back82 "StreamConsumed",Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
line 83why, one step back83 "StreamError",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
line 84why, one step back84 "ProxyError",Map HTTPCore exceptions (#1044)Florimond Mancabefore adoptionbacc2d1
line 85why, one step back85 "TimeoutException",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
line 86why, one step back86 "TooManyRedirects",Add exceptions missing from top-level package (#1045)Florimond Mancabefore adoptionfab4279
line 87why, one step back87 "WriteError",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 88–89why, one step back88 "WriteTimeout",89 "URL",Transport API (#963)Yeray Diaz Diazbefore adoptiond2816c9
line 90why, one step back90 "URLLib3Transport",Add urllib3proxy transport to init (#979)Tom Christiebefore adoptionc30acf0
line 91why, one step back91 "URLLib3ProxyTransport",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
lines 92–98why, one step back92 "StatusCode",93 "Cookies",94 "Headers",95 "QueryParams",96 "Request",97 "Response",98 "DigestAuth",Reintroduce sync API. (#735)Tom Christiebefore adoptionee37a76
line 99why, one step back99 "WSGIDispatch",Transport API (#963)Yeray Diaz Diazbefore adoptiond2816c9
line 100why, one step back100 "WSGITransport",Backend operations like .read(), .write() now have a manadatory timeout argument. (#611)Tom Christiebefore adoptionbc54dd0
line 101why, one step back101]