Skip to content
Myr

__init__.py

This file

Path

httpx/__init__.py

84 lines · 1.9 KiB · Python

Last changed by

Drop `Origin` from public API (#688)Andrés Álvarezbefore adoption2b92a78

History of this file

Take it

The walk stopped after 200 commits: lines older than 0fa55bb point at it.

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

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

Add Client.stream() method. (#600)Tom Christiebefore adoption8d8ea8b

line 2why, one step back
2from .api import delete, get, head, options, patch, post, put, request, stream

Client handles redirect + auth (#552)Tom Christiebefore adoption00e150f

line 3why, one step back
3from .auth import BasicAuth, DigestAuth

Rename Client to AsyncClient (with compat synonym) (#680)Florimond Mancabefore adoptione284b84

line 4why, one step back
4from .client import AsyncClient, Client

Tighten up top-level API to only expose public API (#608)Tom Christiebefore adoptiond15dc0b

line 5why, one step back
5from .config import TimeoutConfig # For 0.8 backwards compat.

Prep for introducing SyncClient (#713)Tom Christiebefore adoptionf17ab37

line 6why, one step back
6from .config import PoolLimits, Proxy, Timeout

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 7–8why, one step back
7from .dispatch.proxy_http import HTTPProxy, HTTPProxyMode
8from .exceptions import (

Tighten up top-level API to only expose public API (#608)Tom Christiebefore adoptiond15dc0b

line 9why, one step back
9 ConnectionClosed,

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 10–12why, one step back
10 ConnectTimeout,
11 CookieConflict,12 DecodingError,

Make HTTPError importable from the top-level (#421)Josep Cugatbefore adoptiona028256

line 13why, one step back
13 HTTPError,

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 14–20why, one step back
14 InvalidURL,
15 NotRedirectResponse,16 PoolTimeout,17 ProtocolError,18 ProxyError,19 ReadTimeout,20 RedirectLoop,

Repurpose RedirectBodyUnavailable as RequestBodyUnavailable (#690)Florimond Mancabefore adoption910aa90

line 21why, one step back
21 RequestBodyUnavailable,

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 22–24why, one step back
22 ResponseClosed,
23 ResponseNotRead,24 StreamConsumed,

Allow default+override timeout style (#593)Tom Christiebefore adoption2f54b20

line 25why, one step back
25 TimeoutException,

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 26–28why, one step back
26 TooManyRedirects,
27 WriteTimeout,28)

Drop `Origin` from public API (#688)Andrés Álvarezbefore adoption2b92a78

line 29why, one step back
29from .models import URL, Cookies, Headers, QueryParams, Request, Response

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 30–44why, one step back
30from .status_codes import StatusCode, codes
3132__all__ = [33 "__description__",34 "__title__",35 "__version__",36 "delete",37 "get",38 "head",39 "options",40 "patch",41 "post",42 "patch",43 "put",44 "request",

Add Client.stream() method. (#600)Tom Christiebefore adoption8d8ea8b

line 45why, one step back
45 "stream",

Tighten up top-level API to only expose public API (#608)Tom Christiebefore adoptiond15dc0b

line 46why, one step back
46 "codes",

Rename Client to AsyncClient (with compat synonym) (#680)Florimond Mancabefore adoptione284b84

line 47why, one step back
47 "AsyncClient",

Client handles redirect + auth (#552)Tom Christiebefore adoption00e150f

line 48why, one step back
48 "BasicAuth",

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

line 49why, one step back
49 "Client",

Client handles redirect + auth (#552)Tom Christiebefore adoption00e150f

line 50why, one step back
50 "DigestAuth",

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

line 51why, one step back
51 "PoolLimits",

Prep for introducing SyncClient (#713)Tom Christiebefore adoptionf17ab37

line 52why, one step back
52 "Proxy",

TimeoutConfig -> Timeout (#591)Tom Christiebefore adoptionc033ed1

line 53why, one step back
53 "Timeout",

Tighten up top-level API to only expose public API (#608)Tom Christiebefore adoptiond15dc0b

line 54why, one step back
54 "TimeoutConfig", # For 0.8 backwards compat.

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

line 55why, one step back
55 "HTTPProxy",

Tighten up top-level API to only expose public API (#608)Tom Christiebefore adoptiond15dc0b

line 56why, one step back
56 "HTTPProxyMode", # For 0.8 backwards compat.

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 57–58why, one step back
57 "ConnectTimeout",
58 "CookieConflict",

Tighten up top-level API to only expose public API (#608)Tom Christiebefore adoptiond15dc0b

line 59why, one step back
59 "ConnectionClosed",

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

line 60why, one step back
60 "DecodingError",

Make HTTPError importable from the top-level (#421)Josep Cugatbefore adoptiona028256

line 61why, one step back
61 "HTTPError",

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 62–67why, one step back
62 "InvalidURL",
63 "NotRedirectResponse",64 "PoolTimeout",65 "ProtocolError",66 "ReadTimeout",67 "RedirectLoop",

Repurpose RedirectBodyUnavailable as RequestBodyUnavailable (#690)Florimond Mancabefore adoption910aa90

line 68why, one step back
68 "RequestBodyUnavailable",

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 69–80why, one step back
69 "ResponseClosed",
70 "ResponseNotRead",71 "StreamConsumed",72 "ProxyError",73 "TooManyRedirects",74 "WriteTimeout",75 "URL",76 "StatusCode",77 "Cookies",78 "Headers",79 "QueryParams",80 "Request",

Allow default+override timeout style (#593)Tom Christiebefore adoption2f54b20

line 81why, one step back
81 "TimeoutException",

Add debug logging to SSLConfig (#378)Seth Michael Larsonbefore adoption0fa55bb

lines 82–84why, one step back
82 "Response",
83 "DigestAuth",84]