Skip to content

Commit 95d90d1

Browse files
authored
content-type fix
1 parent 180ff1c commit 95d90d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/client/generate_sbom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def download_report(bd_client, location, filename, retries=args.retries):
110110
}
111111
sbom_reports_url = version['_meta']['href'] + "/sbom-reports"
112112

113-
bd.session.headers["Content-Type"] = "application/vnd.blackducksoftware.report-4.json"
113+
bd.session.headers["Content-Type"] = "application/vnd.blackducksoftware.report-4+json"
114114
r = bd.session.post(sbom_reports_url, json=post_data)
115115
if (r.status_code == 403):
116116
logging.debug("Authorization Error - Please ensure the token you are using has write permissions!")

0 commit comments

Comments
 (0)