File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,19 @@ class AtlassianRestAPI(object):
33
33
"Accept" : "application/json" ,
34
34
"X-ExperimentalApi" : "opt-in" ,
35
35
}
36
+ # https://developer.atlassian.com/server/confluence/enable-xsrf-protection-for-your-app/#scripting
36
37
form_token_headers = {
37
38
"Content-Type" : "application/x-www-form-urlencoded; charset=UTF-8" ,
38
39
"X-Atlassian-Token" : "no-check" ,
39
40
}
41
+ # https://developer.atlassian.com/server/confluence/enable-xsrf-protection-for-your-app/#scripting
40
42
no_check_headers = {"X-Atlassian-Token" : "no-check" }
43
+ # https://developer.atlassian.com/server/confluence/enable-xsrf-protection-for-your-app/#scripting
41
44
safe_mode_headers = {
42
45
"X-Atlassian-Token" : "no-check" ,
43
46
"Content-Type" : "application/vnd.atl.plugins.safe.mode.flag+json" ,
44
47
}
48
+ # https://developer.atlassian.com/server/confluence/enable-xsrf-protection-for-your-app/#scripting
45
49
experimental_headers_general = {
46
50
"X-Atlassian-Token" : "no-check" ,
47
51
"X-ExperimentalApi" : "opt-in" ,
You can’t perform that action at this time.
0 commit comments