Skip to content

Commit 52c2bea

Browse files
Parser server mode (#123)
* Support parser in SERVER mode * Drop h11
1 parent 298d6fb commit 52c2bea

File tree

12 files changed

+464
-305
lines changed

12 files changed

+464
-305
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ classifiers = [
2222
"Topic :: Internet :: WWW/HTTP",
2323
]
2424
dependencies = [
25-
"h11==0.*",
2625
"certifi",
2726
]
2827
dynamic = ["version"]

src/ahttpx/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from ._content import * # Content, File, Files, Form, HTML, JSON, MultiPart, Text
44
from ._headers import * # Headers
55
from ._network import * # NetworkBackend, NetworkStream, timeout
6-
from ._parsers import * # HTTPParser
6+
from ._parsers import * # HTTPParser, Mode, ProtocolError
77
from ._pool import * # Connection, ConnectionPool, Transport
88
from ._quickstart import * # get, post, put, patch, delete
99
from ._response import * # Response
@@ -33,11 +33,13 @@
3333
"HTTPParser",
3434
"HTTPStream",
3535
"JSON",
36+
"Mode",
3637
"MultiPart",
3738
"NetworkBackend",
3839
"NetworkStream",
3940
"open_connection",
4041
"post",
42+
"ProtocolError",
4143
"put",
4244
"patch",
4345
"Response",

0 commit comments

Comments
 (0)