Skip to content

Commit 687e67e

Browse files
authored
Add django.utils.http.content_disposition_header. (#1448)
1 parent e06689e commit 687e67e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

django-stubs/utils/http.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ def parse_qsl(
4343
separator: str = ...,
4444
) -> list[tuple[str, str]]: ...
4545
def escape_leading_slashes(url: str) -> str: ...
46+
def content_disposition_header(as_attachment: bool, filename: str) -> str | None: ...

0 commit comments

Comments
 (0)