mirror of
https://github.com/versity/versitygw.git
synced 2026-08-17 12:46:23 +00:00
test: add skips check YML, remove old skips, add new issues
This commit is contained in:
@@ -245,7 +245,7 @@ func (s *S3Command) addHeaderValues() error {
|
||||
}
|
||||
sort.Slice(s.headerValues,
|
||||
func(i, j int) bool {
|
||||
return s.headerValues[i][0] < s.headerValues[j][0]
|
||||
return strings.ToLower(s.headerValues[i][0]) < strings.ToLower(s.headerValues[j][0])
|
||||
})
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ func (s *StreamingUnsignedPayloadWithTrailer) GetContentLength() (int64, error)
|
||||
if s.omitTrailer {
|
||||
trailerLength = 4
|
||||
} else if s.omitTrailerKey {
|
||||
trailerLength = 1 + checksumValueLength + 4
|
||||
trailerLength = 3 + checksumValueLength + 4
|
||||
} else {
|
||||
trailerLength = 2 + int64(len(s.checksumHeader)) + 1 + checksumValueLength + 4
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user