Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Content (0.41 sec)

  1. cmd/object-handlers_test.go

    			if rec.Code != 200 {
    				t.Errorf("Test %d: Did not receive a 200 response: %d", i+1, rec.Code)
    			}
    			contentLength = rec.Header().Get("Content-Length")
    		}
    
    		if contentLength != fmt.Sprintf("%d", objectLength(input)) {
    			t.Errorf("Test %d: Content length is mismatching: got %s (expected: %d)", i+1, contentLength, objectLength(input))
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	expectedMap["Access-Control-Expose-Headers"] = []string{
    		"Date",
    		"Etag",
    		"Server",
    		"Connection",
    		"Accept-Ranges",
    		"Content-Range",
    		"Content-Encoding",
    		"Content-Length",
    		"Content-Type",
    		"Content-Disposition",
    		"Last-Modified",
    		"Content-Language",
    		"Cache-Control",
    		"Retry-After",
    		"X-Amz-Bucket-Region",
    		"Expires",
    		"X-Amz*",
    		"X-Amz*",
    		"*",
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    var supportedHeadGetReqParams = map[string]string{
    	"response-expires":             xhttp.Expires,
    	"response-content-type":        xhttp.ContentType,
    	"response-cache-control":       xhttp.CacheControl,
    	"response-content-encoding":    xhttp.ContentEncoding,
    	"response-content-language":    xhttp.ContentLanguage,
    	"response-content-disposition": xhttp.ContentDisposition,
    }
    
    const (
    	compressionAlgorithmV1 = "golang/snappy/LZ77"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    	}
    	mg.RegisterRead(func(ctx context.Context) []MetricV2 {
    		return getHistogramMetrics(bucketHTTPRequestsDuration,
    			getBucketTTFBDistributionMD(), true)
    	})
    	return mg
    }
    
    func getS3TTFBMetric() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval: 10 * time.Second,
    	}
    	mg.RegisterRead(func(ctx context.Context) []MetricV2 {
    		return getHistogramMetrics(httpRequestsDuration,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    // this node returns a 404
    func proxyHeadToReplicationTarget(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, opts ObjectOptions, proxyTargets *madmin.BucketTargets) (oi ObjectInfo, proxy proxyResult) {
    	_, oi, proxy = proxyHeadToRepTarget(ctx, bucket, object, rs, opts, proxyTargets)
    	return oi, proxy
    }
    
    func scheduleReplication(ctx context.Context, oi ObjectInfo, o ObjectLayer, dsc ReplicateDecision, opType replication.Type) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. cmd/site-replication.go

    func (c *SiteReplicationSys) Init(ctx context.Context, objAPI ObjectLayer) error {
    	go c.startHealRoutine(ctx, objAPI)
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for {
    		err := c.loadFromDisk(ctx, objAPI)
    		if err == errConfigNotFound {
    			return nil
    		}
    		if err == nil {
    			break
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
Back to top