Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RemoveSensitiveHeaders (0.33 sec)

  1. internal/crypto/header.go

    	"bytes"
    	"crypto/md5"
    	"encoding/base64"
    	"net/http"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // RemoveSensitiveHeaders removes confidential encryption
    // information - e.g. the SSE-C key - from the HTTP headers.
    // It has the same semantics as RemoveSensitiveEntries.
    func RemoveSensitiveHeaders(h http.Header) {
    	h.Del(xhttp.AmzServerSideEncryptionCustomerKey)
    	h.Del(xhttp.AmzServerSideEncryptionCopyCustomerKey)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top