Skip to content

Commit

Permalink
Fix #1774 by updating the Accept headers value to be valid (#1778)
Browse files Browse the repository at this point in the history
Signed-off-by: David Black <[email protected]>
  • Loading branch information
dbaxa authored Dec 21, 2023
1 parent ac8e0e8 commit f191690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jira/resilientsession.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def __init__(self, timeout=None, max_retries: int = 3, max_retry_delay: int = 60
super().__init__()

# Indicate our preference for JSON to avoid https://bitbucket.org/bspeakmon/jira-python/issue/46 and https://jira.atlassian.com/browse/JRA-38551
self.headers.update({"Accept": "application/json,*.*;q=0.9"})
self.headers.update({"Accept": "application/json,*/*;q=0.9"})

# Warn users on instantiation the debug level shouldn't be used for prod
LOG.debug(
Expand Down

0 comments on commit f191690

Please sign in to comment.