Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/object-lambda-handlers.go

    	fwdHeadersToS3(resp.Header, w)
    
    	if apiErr := fwdStatusToAPIError(statusCode, resp); apiErr != nil {
    		writeErrorResponse(ctx, w, *apiErr, r.URL)
    		return
    	}
    
    	if !globalAPIConfig.shouldGzipObjects() {
    		w.Header().Set(gzhttp.HeaderNoCompression, "true")
    	}
    
    	w.WriteHeader(statusCode)
    	io.Copy(w, resp.Body)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 6.5K 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top