Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shouldGzipObjects (0.3 sec)

  1. cmd/object-lambda-handlers.go

    			Code:           "LambdaFunctionError",
    			HTTPStatusCode: resp.StatusCode,
    			Description:    "unexpected failure reported from lambda function",
    		}, r.URL)
    		return
    	}
    
    	if !globalAPIConfig.shouldGzipObjects() {
    		w.Header().Set(gzhttp.HeaderNoCompression, "true")
    	}
    
    	io.Copy(w, resp.Body)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
  2. cmd/handler-api.go

    	t.objectMaxVersions = cfg.ObjectMaxVersions
    }
    
    func (t *apiConfig) odirectEnabled() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.enableODirect
    }
    
    func (t *apiConfig) shouldGzipObjects() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.gzipObjects
    }
    
    func (t *apiConfig) permitRootAccess() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.rootAccess
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 09:22:27 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	object, err := unescapePath(vars["object"])
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	if !globalAPIConfig.shouldGzipObjects() {
    		w.Header().Set(gzhttp.HeaderNoCompression, "true")
    	}
    
    	if r.Header.Get(xMinIOExtract) == "true" && strings.Contains(object, archivePattern) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
Back to top