- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AddChecksum (0.14 sec)
-
internal/hash/reader.go
func (r *Reader) SetExpectedMax(expectedMax int64) { r.expectedMax = expectedMax } // AddChecksum will add checksum checks as specified in // https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html // Returns ErrInvalidChecksum if a problem with the checksum is found. func (r *Reader) AddChecksum(req *http.Request, ignoreValue bool) error { cs, err := GetContentChecksum(req.Header) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 10.8K bytes - Viewed (0)