Skip to content

Commit 4440183

Browse files
authored
Add Content-Type to calls to Assets in cloud (#1255)
1 parent c17bcb1 commit 4440183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlassian/insight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def __cloud_init(self, *args, **kwargs):
4343
# set cloud back to true and return
4444
kwargs["cloud"] = True
4545
# Insight cloud is particular about its headers.
46-
self.default_headers = {"Accept": "application/json"}
46+
self.default_headers = {"Accept": "application/json", "Content-Type": "application/json"}
4747
return args, kwargs
4848

4949
def __get_workspace_id(self):

0 commit comments

Comments
 (0)