Bump waitress to 2.1.* (#8113)

This commit is contained in:
Shantanu
2022-06-20 21:06:15 -07:00
committed by GitHub
parent 35a59f6aa7
commit 05ac6a7215
5 changed files with 2 additions and 18 deletions

View File

@@ -1,2 +1,2 @@
version = "2.0.*"
version = "2.1.*"
requires = []

View File

@@ -6,8 +6,6 @@ from waitress.adjustments import Adjustments
from waitress.receiver import ChunkedReceiver, FixedStreamReceiver
from waitress.utilities import Error
from .rfc7230 import HEADER_FIELD as HEADER_FIELD
class ParsingError(Exception): ...
class TransferEncodingNotImplemented(Exception): ...

View File

@@ -1,5 +1,3 @@
from typing import Any, Pattern
from .compat import tobytes as tobytes
WS: str
@@ -13,4 +11,3 @@ VCHAR: str
FIELD_VCHAR: str
FIELD_CONTENT: str
FIELD_VALUE: str
HEADER_FIELD: Pattern[Any]

View File

@@ -2,8 +2,6 @@ from collections.abc import Callable, Mapping, Sequence
from logging import Logger
from typing import Any, Match, Pattern
from .rfc7230 import OBS_TEXT as OBS_TEXT, VCHAR as VCHAR
logger: Logger
queue_logger: Logger
@@ -36,15 +34,6 @@ monthname: Sequence[str]
def build_http_date(when: int) -> str: ...
def parse_http_date(d: str) -> int: ...
vchar_re: str
obs_text_re: str
qdtext_re: str
quoted_pair_re: str
quoted_string_re: str
quoted_string: Pattern[Any]
quoted_pair: Pattern[Any]
def undquote(value: str) -> str: ...
def cleanup_unix_socket(path: str) -> None: ...

View File

@@ -49,7 +49,7 @@ class dispatcher:
def bind(self, addr: tuple[str, int]) -> None: ...
def connect(self, address: tuple[str, int]) -> None: ...
def accept(self) -> tuple[_socket, tuple[str, int]] | None: ...
def send(self, data: bytes) -> int: ...
def send(self, data: bytes, do_close: bool = ...) -> int: ...
def recv(self, buffer_size: int) -> bytes: ...
def close(self) -> None: ...
def log(self, message: str) -> None: ...