Skip to content

Commit

Permalink
Merge pull request #54 from bruno-mendes-movile/fix-attlassian-token-…
Browse files Browse the repository at this point in the history
…header

fix atlassian header
  • Loading branch information
ssbarnea committed Apr 1, 2015
2 parents c029e1c + c6f0d96 commit fac5aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def file_stream():
)
m = file_stream()
r = self._session.post(
url, data=m, headers=CaseInsensitiveDict({'content-type': m.content_type}), retry_data=file_stream)
url, data=m, headers=CaseInsensitiveDict({'content-type': m.content_type, 'X-Atlassian-Token': 'nocheck'}), retry_data=file_stream)

attachment = Attachment(self._options, self._session, json_loads(r)[0])
if attachment.size == 0:
Expand Down

0 comments on commit fac5aac

Please sign in to comment.