Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
jkmnt committed Oct 16, 2024
1 parent ce15bfc commit 1deda2f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions falcon/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
Dict,
Iterable,
List,
Mapping,
NoReturn,
Optional,
overload,
Expand All @@ -37,6 +36,7 @@
)

from falcon._typing import _UNSET
from falcon._typing import HeaderArg
from falcon._typing import RangeSetHeader
from falcon._typing import UnsetOr
from falcon.constants import _DEFAULT_STATIC_MEDIA_TYPES
Expand Down Expand Up @@ -793,9 +793,7 @@ def append_header(self, name: str, value: str) -> None:

self._headers[name] = value

def set_headers(
self, headers: Union[Mapping[str, str], Iterable[Tuple[str, str]]]
) -> None:
def set_headers(self, headers: HeaderArg) -> None:
"""Set several headers at once.
This method can be used to set a collection of raw header names and
Expand Down

0 comments on commit 1deda2f

Please sign in to comment.