Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CanonicalHeaderKey (0.37 sec)

  1. cmd/bucket-replication.go

    func (m caseInsensitiveMap) Lookup(key string) (string, bool) {
    	if len(m) == 0 {
    		return "", false
    	}
    	for _, k := range []string{
    		key,
    		strings.ToLower(key),
    		http.CanonicalHeaderKey(key),
    	} {
    		v, ok := m[k]
    		if ok {
    			return v, ok
    		}
    	}
    	return "", false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top