Skip to content

Commit

Permalink
Add django.utils.http.content_disposition_header. (#1448)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmv authored Apr 20, 2023
1 parent e06689e commit 687e67e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django-stubs/utils/http.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ def parse_qsl(
separator: str = ...,
) -> list[tuple[str, str]]: ...
def escape_leading_slashes(url: str) -> str: ...
def content_disposition_header(as_attachment: bool, filename: str) -> str | None: ...

0 comments on commit 687e67e

Please sign in to comment.