Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for headerMap (0.05 sec)

  1. cmd/test-utils_test.go

    	// Get header map.
    	headerMap := make(map[string][]string)
    	for k, vv := range req.Header {
    		// If request header key is not in ignored headers, then add it.
    		if _, ok := ignoredStreamingHeaders[http.CanonicalHeaderKey(k)]; !ok {
    			headerMap[strings.ToLower(k)] = vv
    		}
    	}
    
    	// Get header keys.
    	headers := []string{"host"}
    	for k := range headerMap {
    		headers = append(headers, k)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. cmd/object-api-options.go

    		}
    	}
    
    	return
    }
    
    func parseObjectAttributes(h http.Header) (attributes map[string]struct{}) {
    	attributes = make(map[string]struct{})
    	for _, headerVal := range h.Values(xhttp.AmzObjectAttributes) {
    		for _, v := range strings.Split(strings.TrimSpace(headerVal), ",") {
    			if v != "" {
    				attributes[v] = struct{}{}
    			}
    		}
    	}
    
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. docs/tr/docs/features.md

    * HTTP Basic.
    * **OAuth2** (ve **JWT tokenleriyle** beraber). Bu öğretici içeriğe göz atabilirsin [OAuth2 with JWT](tutorial/security/oauth2-jwt.md){.internal-link target=_blank}.
    * API anahtarları:
        * Headerlar.
        * Query parametreleri.
        * Cookies, vs.
    
    Bütün güvenlik özellikleri Starlette'den geliyor (**session cookies'de** dahil olmak üzere).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top