Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unsignedPayloadTrailer (0.08 sec)

  1. cmd/auth-handler.go

    }
    
    // Verify if the request has AWS Streaming Signature Version '4', with unsigned content and trailer.
    func isRequestUnsignedTrailerV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == unsignedPayloadTrailer &&
    		r.Method == http.MethodPut
    }
    
    // Authorization type.
    //
    //go:generate stringer -type=authType -trimprefix=authType $GOFILE
    type authType int
    
    // List of all supported auth types.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. cmd/server_test.go

    		"X-Amz-Decoded-Content-Length": []string{"8"},
    		"Content-Encoding":             []string{"aws-chunked"},
    		"X-Amz-Trailer":                []string{"x-amz-checksum-crc32"},
    		"x-amz-content-sha256":         []string{unsignedPayloadTrailer},
    	}
    
    	for k, v := range maliciousHeaders {
    		req.Header.Set(k, v[0])
    	}
    
    	// execute the request.
    	response, err = s.client.Do(req)
    	c.Assert(err, nil)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
Back to top