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):
3333 "Accept" : "application/json" ,
3434 "X-ExperimentalApi" : "opt-in" ,
3535 }
36+ # https://developer.atlassian.com/server/confluence/enable-xsrf-protection-for-your-app/#scripting
3637 form_token_headers = {
3738 "Content-Type" : "application/x-www-form-urlencoded; charset=UTF-8" ,
3839 "X-Atlassian-Token" : "no-check" ,
3940 }
41+ # https://developer.atlassian.com/server/confluence/enable-xsrf-protection-for-your-app/#scripting
4042 no_check_headers = {"X-Atlassian-Token" : "no-check" }
43+ # https://developer.atlassian.com/server/confluence/enable-xsrf-protection-for-your-app/#scripting
4144 safe_mode_headers = {
4245 "X-Atlassian-Token" : "no-check" ,
4346 "Content-Type" : "application/vnd.atl.plugins.safe.mode.flag+json" ,
4447 }
48+ # https://developer.atlassian.com/server/confluence/enable-xsrf-protection-for-your-app/#scripting
4549 experimental_headers_general = {
4650 "X-Atlassian-Token" : "no-check" ,
4751 "X-ExperimentalApi" : "opt-in" ,
You can’t perform that action at this time.
0 commit comments