Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shouldGzipObjects (0.08 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    		}
    	}
    }
    
    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
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K 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) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top