Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for calculateSignedChunkLength (0.26 sec)

  1. cmd/test-utils_test.go

    var ignoredStreamingHeaders = map[string]bool{
    	"Authorization": true,
    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    
    // calculateSignedChunkLength - calculates the length of chunk metadata
    func calculateSignedChunkLength(chunkDataSize int64) int64 {
    	return int64(len(fmt.Sprintf("%x", chunkDataSize))) +
    		17 + // ";chunk-signature="
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top