mirror of https://github.com/tiangolo/fastapi.git
Merge cb3e71c289 into cc6ced6345
This commit is contained in:
commit
4a3ac5cfee
|
|
@ -1,4 +1,4 @@
|
|||
from collections.abc import Sequence
|
||||
from collections.abc import Mapping, Sequence
|
||||
from typing import Annotated, Any, Optional, TypedDict, Union
|
||||
|
||||
from annotated_doc import Doc
|
||||
|
|
@ -68,7 +68,7 @@ class HTTPException(StarletteHTTPException):
|
|||
),
|
||||
] = None,
|
||||
headers: Annotated[
|
||||
Optional[dict[str, str]],
|
||||
Optional[Mapping[str, str]],
|
||||
Doc(
|
||||
"""
|
||||
Any headers to send to the client in the response.
|
||||
|
|
|
|||
Loading…
Reference in New Issue