diff --git a/jira/client.py b/jira/client.py index 8e0f30d63..ebd96d18a 100644 --- a/jira/client.py +++ b/jira/client.py @@ -887,7 +887,7 @@ def add_attachment(self, issue, attachment, filename=None): url, files={"file": (fname, attachment, "application/octet-stream")}, headers=CaseInsensitiveDict( - {"content-type": None, "X-Atlassian-Token": "nocheck"} + {"content-type": None, "X-Atlassian-Token": "no-check"} ), ) else: @@ -907,7 +907,7 @@ def file_stream(): url, data=m, headers=CaseInsensitiveDict( - {"content-type": m.content_type, "X-Atlassian-Token": "nocheck"} + {"content-type": m.content_type, "X-Atlassian-Token": "no-check"} ), retry_data=file_stream, )