annotate .grype.yaml @ 8586:31a8a6faa2fa

bug: Allow UsageError exception to use more specific error code UsageError exception returned 400 error code but should return 405 when generated for a bad http method. Modified error handler to use 400 error code if self.response_code was less then 400. This should reproduce the standard error of 400 if one was not specified and preserve any other explicitly set response code. Also enhanced a test case to verify the 405 is returned.
author John Rouillard <rouilj@ieee.org>
date Mon, 20 Apr 2026 03:09:30 -0400
parents 73cb61350d3b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7644
974599384dc5 build: disable CVE-2018-20225 pip package shadow
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
1 ignore:
7648
73cb61350d3b build: fix format and remove fix-state.
John Rouillard <rouilj@ieee.org>
parents: 7647
diff changeset
2 - vulnerability: CVE-2018-20225
7645
939ecb42a031 build: try different ID for pip grype error.
John Rouillard <rouilj@ieee.org>
parents: 7644
diff changeset
3 - vulnerability: CVE-2018-20225-pip

Roundup Issue Tracker: http://roundup-tracker.org/