We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a56c483 commit b468d87Copy full SHA for b468d87
service/internal/checksum/middleware_validate_output.go
@@ -94,7 +94,7 @@ func (m *validateOutputPayloadChecksum) HandleDeserialize(
94
95
// Skip validation if no checksum algorithm or checksum is available.
96
if len(expectedChecksum) == 0 || len(algorithmToUse) == 0 {
97
- if response.Body != http.NoBody && m.LogValidationSkipped {
+ if response.StatusCode != 404 && response.Body != http.NoBody && m.LogValidationSkipped {
98
// TODO this probably should have more information about the
99
// operation output that won't be validated.
100
logger.Logf(logging.Warn,
0 commit comments