Skip to content

Commit 50c5331

Browse files
author
Glenn Snyder
committed
updating media type so the most recent version, and the new policy conditions can be read
1 parent 0066652 commit 50c5331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blackduck/HubRestApi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def _get_policy_url(self):
424424

425425
def get_policies(self, parameters={}):
426426
url = self._get_policy_url() + self._get_parameter_string(parameters)
427-
headers = {'Accept': 'application/vnd.blackducksoftware.policy-4+json'}
427+
headers = {'Accept': 'application/json'}
428428
response = self.execute_get(url, custom_headers=headers)
429429
return response.json()
430430

0 commit comments

Comments
 (0)