Add fastapi code
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
from .parser import * # NoQA
|
||||
from .errors import * # NoQA
|
||||
from .url_parser import * # NoQA
|
||||
|
||||
__all__ = parser.__all__ + errors.__all__ + url_parser.__all__ # NoQA
|
||||
Binary file not shown.
Binary file not shown.
30
venv/lib/python3.11/site-packages/httptools/parser/errors.py
Normal file
30
venv/lib/python3.11/site-packages/httptools/parser/errors.py
Normal file
@ -0,0 +1,30 @@
|
||||
__all__ = ('HttpParserError',
|
||||
'HttpParserCallbackError',
|
||||
'HttpParserInvalidStatusError',
|
||||
'HttpParserInvalidMethodError',
|
||||
'HttpParserInvalidURLError',
|
||||
'HttpParserUpgrade')
|
||||
|
||||
|
||||
class HttpParserError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class HttpParserCallbackError(HttpParserError):
|
||||
pass
|
||||
|
||||
|
||||
class HttpParserInvalidStatusError(HttpParserError):
|
||||
pass
|
||||
|
||||
|
||||
class HttpParserInvalidMethodError(HttpParserError):
|
||||
pass
|
||||
|
||||
|
||||
class HttpParserInvalidURLError(HttpParserError):
|
||||
pass
|
||||
|
||||
|
||||
class HttpParserUpgrade(Exception):
|
||||
pass
|
||||
10544
venv/lib/python3.11/site-packages/httptools/parser/parser.c
Normal file
10544
venv/lib/python3.11/site-packages/httptools/parser/parser.c
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
6154
venv/lib/python3.11/site-packages/httptools/parser/url_parser.c
Normal file
6154
venv/lib/python3.11/site-packages/httptools/parser/url_parser.c
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Reference in New Issue
Block a user