Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newAuthToken (0.16 sec)

  1. internal/rest/client.go

    		if req.GetBody != nil && req.ContentLength == 0 {
    			req.Body = http.NoBody
    			req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil }
    		}
    	}
    
    	if c.newAuthToken != nil {
    		req.Header.Set("Authorization", "Bearer "+c.newAuthToken(u.RawQuery))
    	}
    	req.Header.Set("X-Minio-Time", time.Now().UTC().Format(time.RFC3339))
    
    	if tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
Back to top