Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trailerKVSeparator (0.22 sec)

  1. cmd/streaming-v4-unsigned.go

    	for input.Scan() {
    		line := strings.TrimSpace(input.Text())
    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    			if cr.debug {
    				fmt.Printf("Could not find separator, got %q\n", line)
    			}
    			return errMalformedEncoding
    		}
    		key := strings.ToLower(line[:idx])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    	signV4ChunkedAlgorithm        = "AWS4-HMAC-SHA256-PAYLOAD"
    	signV4ChunkedAlgorithmTrailer = "AWS4-HMAC-SHA256-TRAILER"
    	streamingContentEncoding      = "aws-chunked"
    	awsTrailerHeader              = "X-Amz-Trailer"
    	trailerKVSeparator            = ":"
    )
    
    // getChunkSignature - get chunk signature.
    // Does not update anything in cr.
    func (cr *s3ChunkedReader) getChunkSignature() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top