Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for skipContentSha256Cksum (0.16 sec)

  1. cmd/signature-v4-utils.go

    // client did not calculate sha256 of the payload and there is a trailer.
    const unsignedPayloadTrailer = "STREAMING-UNSIGNED-PAYLOAD-TRAILER"
    
    // skipContentSha256Cksum returns true if caller needs to skip
    // payload checksum, false if not.
    func skipContentSha256Cksum(r *http.Request) bool {
    	var (
    		v  []string
    		ok bool
    	)
    
    	if isRequestPresignedSignatureV4(r) {
    		v, ok = r.Form[xhttp.AmzContentSha256]
    		if !ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    		if s3Error = reqSignatureV4Verify(r, globalSite.Region(), serviceS3); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    
    		if !skipContentSha256Cksum(r) {
    			sha256hex = getContentSha256Cksum(r, serviceS3)
    		}
    	}
    
    	if err := enforceBucketQuotaHard(ctx, bucket, size); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		if s3Err = reqSignatureV4Verify(r, globalSite.Region(), serviceS3); s3Err != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    			return
    		}
    		if !skipContentSha256Cksum(r) {
    			sha256hex = getContentSha256Cksum(r, serviceS3)
    		}
    	}
    
    	if _, ok := r.Header[xhttp.MinIOSourceReplicationCheck]; ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
Back to top