Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Content (0.37 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertHeader("Content-Encoding")
          .assertHeader("Content-Length")
          .assertBody("abcabcabc")
    
        // But the network request doesn't lie. OkHttp used gzip for this call.
        userResponse.networkResponse()
          .assertHeader("Content-Encoding", "gzip")
          .assertHeader("Content-Length", bodySize)
          .assertRequestHeader("Accept-Encoding", "gzip")
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      private fun corruptCertificate(cacheEntry: Path) {
        var content = fileSystem.source(cacheEntry).buffer().readUtf8()
        content = content.replace("MII", "!!!")
        fileSystem.sink(cacheEntry).buffer().writeUtf8(content).close()
      }
    
      @Test
      fun responseCachingAndRedirects() {
        server.enqueue(
          MockResponse.Builder()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

       * content to go along with it. https://github.com/square/okhttp/issues/358
       */
      @Test
      fun noTransparentGzipFor304NotModified() {
        server.enqueue(
          MockResponse.Builder()
            .clearHeaders()
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. fastapi/routing.py

                                content_type_value = request.headers.get("content-type")
                                if not content_type_value:
                                    json_body = await request.json()
                                else:
                                    message = email.message.Message()
                                    message["content-type"] = content_type_value
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Related Content */
        public static final String LABELS_related_content_configuration = "{labels.related_content_configuration}";
    
        /** The key of the message: Content */
        public static final String LABELS_related_content_content = "{labels.related_content_content}";
    
        /** The key of the message: Term */
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top