Add fastapi code
This commit is contained in:
6
venv/lib/python3.11/site-packages/httptools/__init__.py
Normal file
6
venv/lib/python3.11/site-packages/httptools/__init__.py
Normal file
@ -0,0 +1,6 @@
|
||||
from . import parser
|
||||
from .parser import * # NOQA
|
||||
|
||||
from ._version import __version__ # NOQA
|
||||
|
||||
__all__ = parser.__all__ + ('__version__',) # NOQA
|
||||
Binary file not shown.
Binary file not shown.
13
venv/lib/python3.11/site-packages/httptools/_version.py
Normal file
13
venv/lib/python3.11/site-packages/httptools/_version.py
Normal file
@ -0,0 +1,13 @@
|
||||
# This file MUST NOT contain anything but the __version__ assignment.
|
||||
#
|
||||
# When making a release, change the value of __version__
|
||||
# to an appropriate value, and open a pull request against
|
||||
# the correct branch (master if making a new feature release).
|
||||
# The commit message MUST contain a properly formatted release
|
||||
# log, and the commit must be signed.
|
||||
#
|
||||
# The release automation will: build and test the packages for the
|
||||
# supported platforms, publish the packages on PyPI, merge the PR
|
||||
# to the target branch, create a Git tag pointing to the commit.
|
||||
|
||||
__version__ = '0.5.0'
|
||||
@ -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