Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trailerKVSeparator (0.27 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])
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  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 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
Back to top