Skip to content

Commit db6f47e

Browse files
committed
Add links
1 parent 589d477 commit db6f47e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

atlassian/rest_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)