Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for negotiate (0.4 sec)

  1. cmd/metrics.go

    		mfs, err := gatherers.Gather()
    		if err != nil {
    			if len(mfs) == 0 {
    				writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), err), r.URL)
    				return
    			}
    		}
    
    		contentType := expfmt.Negotiate(r.Header)
    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		}
    
    		mfs, err := gatherers.Gather()
    		if err != nil && len(mfs) == 0 {
    			writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), err), r.URL)
    			return
    		}
    
    		contentType := expfmt.Negotiate(r.Header)
    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/object-lambda-handlers.go

    	"Service Unavailable":             http.StatusServiceUnavailable,
    	"Gateway Timeout":                 http.StatusGatewayTimeout,
    	"HTTP Version Not Supported":      http.StatusHTTPVersionNotSupported,
    	"Variant Also Negotiates":         http.StatusVariantAlsoNegotiates,
    	"Insufficient Storage":            http.StatusInsufficientStorage,
    	"Loop Detected":                   http.StatusLoopDetected,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
Back to top