Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CanonicalHeaderKey (0.07 sec)

  1. cmd/postpolicyform.go

    	xhttp.AmzSignature:    true,
    	xhttp.ContentEncoding: true,
    	http.CanonicalHeaderKey(xhttp.AmzChecksumAlgo):   true,
    	http.CanonicalHeaderKey(xhttp.AmzChecksumCRC32):  true,
    	http.CanonicalHeaderKey(xhttp.AmzChecksumCRC32C): true,
    	http.CanonicalHeaderKey(xhttp.AmzChecksumSHA1):   true,
    	http.CanonicalHeaderKey(xhttp.AmzChecksumSHA256): true,
    	http.CanonicalHeaderKey(xhttp.AmzChecksumMode):   true,
    }
    
    // Add policy conditionals.
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    	nv := make(textproto.MIMEHeader, len(v))
    	for k, kv := range v {
    		// Canonicalize all headers, to remove any duplicates.
    		nv[http.CanonicalHeaderKey(k)] = kv
    	}
    
    	// Save all supported headers.
    	for _, supportedHeader := range supportedHeaders {
    		value, ok := nv[http.CanonicalHeaderKey(supportedHeader)]
    		if ok {
    			if v, ok := replicationToInternalHeaders[supportedHeader]; ok {
    				m[v] = strings.Join(value, ",")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top