Skip to content
Myr

__init__.py

This file

Path

httpcore/__init__.py

26 lines · 761 bytes · Python

Last changed by

Merge pull request #58 from encode/sync-by-defaultTom Christiebefore adoptionb6c27f0

History of this file

Take it

Merge pull request #58 from encode/sync-by-defaultTom Christiebefore adoptionb6c27f0

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

StuffTom Christiebefore adoption30530d4

line 2why, one step back
2from .config import PoolLimits, SSLConfig, TimeoutConfig

Reorganise structureTom Christiebefore adoption0c6f618

line 3why, one step back
3from .constants import Protocol, codes

Merge pull request #23 from encode/adaptersTom Christiebefore adoption696c054

lines 4–7why, one step back
4from .dispatch.connection import HTTPConnection
5from .dispatch.connection_pool import ConnectionPool6from .dispatch.http2 import HTTP2Connection7from .dispatch.http11 import HTTP11Connection

Merge pull request #7 from encode/timeout-testsTom Christiebefore adoption34c03d7

lines 8–9why, one step back
8from .exceptions import (
9 ConnectTimeout,

Merge pull request #20 from yeraydiazdiaz/decoding-exceptionsTom Christiebefore adoption2b134a6

line 10why, one step back
10 DecodingError,

Use rfc3986 for URL handlingTom Christiebefore adoption302fe93

line 11why, one step back
11 InvalidURL,

Merge pull request #7 from encode/timeout-testsTom Christiebefore adoption34c03d7

line 12why, one step back
12 PoolTimeout,

Merge pull request #17 from encode/close-keepalive-connectionsTom Christiebefore adoption91a2a1b

line 13why, one step back
13 ProtocolError,

Merge pull request #7 from encode/timeout-testsTom Christiebefore adoption34c03d7

line 14why, one step back
14 ReadTimeout,

Merge pull request #23 from encode/adaptersTom Christiebefore adoption696c054

lines 15–16why, one step back
15 RedirectBodyUnavailable,
16 RedirectLoop,

Merge pull request #7 from encode/timeout-testsTom Christiebefore adoption34c03d7

line 17why, one step back
17 ResponseClosed,

Response.contentTom Christiebefore adoption4c55113

line 18why, one step back
18 ResponseNotRead,

Merge pull request #7 from encode/timeout-testsTom Christiebefore adoption34c03d7

lines 19–20why, one step back
19 StreamConsumed,
20 Timeout,

Merge pull request #23 from encode/adaptersTom Christiebefore adoption696c054

line 21why, one step back
21 TooManyRedirects,

Merge pull request #7 from encode/timeout-testsTom Christiebefore adoption34c03d7

line 22why, one step back
22)

Merge pull request #55 from encode/drop-adaptersTom Christiebefore adoptiond72a144

line 23why, one step back
23from .interfaces import BaseReader, BaseWriter, Dispatcher

Merge pull request #42 from encode/query-paramsTom Christiebefore adoption3de0425

line 24why, one step back
24from .models import URL, Headers, Origin, QueryParams, Request, Response

StuffTom Christiebefore adoption30530d4

line 25why, one step back
25

Merge pull request #17 from encode/close-keepalive-connectionsTom Christiebefore adoption91a2a1b

line 26why, one step back
26__version__ = "0.2.1"