Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Request (0.27 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

            .cache(cache)
            .build()
        val request1 = Request(server.url("/"))
        client.newCall(request1).enqueue(callback)
        callback.await(request1.url).assertCode(200).assertBody("A")
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
        val request2 = Request(server.url("/"))
        client.newCall(request2).enqueue(callback)
        callback.await(request2.url).assertCode(200).assertBody("A")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        // No authorization header for the first request...
        var request = server.takeRequest()
        assertThat(request.headers["Authorization"]).isNull()
    
        // ...but the three requests that follow requests include an authorization header.
        for (i in 0..2) {
          request = server.takeRequest()
          assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1")
          assertThat(request.headers["Authorization"])
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

          ),
        )
      }
    
      @Test
      fun getHasCorrectResponse() {
        val request = Request(server.url("/abc"))
    
        val response = testBasicCachingRules(request)
    
        assertThat(response.request.url).isEqualTo(request.url)
        assertThat(response.cacheResponse!!.request.url).isEqualTo(request.url)
      }
    
      @Test
      fun postWithOverrideResponse() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		},
    	}
    
    	// string to represent V2 signed HTTP request.
    	reqV2Str := "V2 Signed HTTP request"
    	// string to represent V4 signed HTTP request.
    	reqV4Str := "V4 Signed HTTP request"
    	// Collection of HTTP request and ResponseRecorder and request type string.
    	type inputReqRec struct {
    		req     *http.Request
    		rec     *httptest.ResponseRecorder
    		reqType string
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	// execute the HTTP request for object upload.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	objectName2 := "testObject2"
    	// Unlike the actual PUT object request, the request to Copy Object doesn't contain request body,
    	// empty body with the "X-Amz-Copy-Source" header pointing to the object to copies it in the backend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. manifests/addons/dashboards/istio-workload-dashboard.json

                "uid": "${datasource}"
              },
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 102.7K bytes
    - Viewed (0)
  7. manifests/addons/dashboards/istio-service-dashboard.json

                "type": "prometheus",
                "uid": "${datasource}"
              },
              "expr": "(histogram_quantile(0.50, sum(irate(istio_request_duration_milliseconds_bucket{reporter=~\"$qrep\",destination_service=~\"$service\"}[1m])) by (le)) / 1000) or histogram_quantile(0.50, sum(irate(istio_request_duration_seconds_bucket{reporter=~\"$qrep\",destination_service=~\"$service\"}[1m])) by (le))",
              "format": "time_series",
    Json
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 111.8K bytes
    - Viewed (0)
  8. istioctl/pkg/authz/testdata/configdump.yaml

                 }
                ],
                "stream_idle_timeout": "0s",
                "normalize_path": true,
                "request_id_extension": {
                 "typed_config": {
                  "@type": "type.googleapis.com/envoy.extensions.request_id.uuid.v3.UuidRequestIdConfig",
                  "use_request_id_for_trace_sampling": true
                 }
                },
                "path_with_escaped_slashes_action": "KEEP_UNCHANGED"
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 206.7K bytes
    - Viewed (2)
  9. cmd/admin-handlers.go

    		hip.forceStart = true
    	}
    	if _, ok := qParams[mgmtForceStop]; ok {
    		hip.forceStop = true
    	}
    
    	// Invalid request conditions:
    	//
    	//   Cannot have both forceStart and forceStop in the same
    	//   request; If clientToken is provided, request can only be
    	//   to continue receiving logs, so it cannot be start or
    	//   stop;
    	if (hip.forceStart && hip.forceStop) ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  10. cmd/object-handlers.go

    	"github.com/minio/minio/internal/s3select"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    	"github.com/valyala/bytebufferpool"
    )
    
    // supportedHeadGetReqParams - supported request parameters for GET and HEAD presigned request.
    var supportedHeadGetReqParams = map[string]string{
    	"response-expires":             xhttp.Expires,
    	"response-content-type":        xhttp.ContentType,
    	"response-cache-control":       xhttp.CacheControl,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top