Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit cb61a31

Browse files
committed
Expose HTTP/1.1 objects at top-level.
1 parent cd4ddc2 commit cb61a31

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

hyper/__init__.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,21 @@
1010

1111
from .http20.connection import HTTP20Connection
1212
from .http20.response import HTTP20Response, HTTP20Push
13+
from .http11.connection import HTTP11Connection
14+
from .http11.response import HTTP11Response
1315

1416
# Throw import errors on Python <2.7 and 3.0-3.2.
1517
import sys as _sys
1618
if _sys.version_info < (2,7) or (3,0) <= _sys.version_info < (3,3):
1719
raise ImportError("hyper only supports Python 2.7 and Python 3.3 or higher.")
1820

19-
__all__ = [HTTP20Response, HTTP20Push, HTTP20Connection]
21+
__all__ = [
22+
HTTP20Response,
23+
HTTP20Push,
24+
HTTP20Connection,
25+
HTTP11Connection,
26+
HTTP11Response,
27+
]
2028

2129
# Set default logging handler.
2230
import logging

0 commit comments

Comments
 (0)