mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 04:41:30 +08:00
Bump waitress to 2.1.* (#8113)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "2.0.*"
|
||||
version = "2.1.*"
|
||||
requires = []
|
||||
|
||||
@@ -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): ...
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user