Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,758 for Request (0.12 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import org.junit.jupiter.api.Test
    import org.mockserver.client.MockServerClient
    import org.mockserver.configuration.Configuration
    import org.mockserver.logging.MockServerLogger
    import org.mockserver.model.HttpRequest.request
    import org.mockserver.model.HttpResponse.response
    import org.mockserver.socket.tls.KeyStoreFactory
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt

    class AndroidLoggingTest {
      val clientBuilder =
        OkHttpClient.Builder()
          .connectionSpecs(listOf(ConnectionSpec.CLEARTEXT))
          .dns {
            throw UnknownHostException("shortcircuit")
          }
    
      val request = Request("http://google.com/robots.txt".toHttpUrl())
    
      @Test
      fun testHttpLoggingInterceptor() {
        val interceptor =
          HttpLoggingInterceptor.androidLogging(tag = "testHttpLoggingInterceptor").apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/authentication/v1/generated.proto

      // Spec holds information about the request being evaluated
      optional TokenReviewSpec spec = 2;
    
      // Status is filled in by the server and indicates whether the request can be authenticated.
      // +optional
      optional TokenReviewStatus status = 3;
    }
    
    // TokenReviewSpec is a description of the token authentication request.
    message TokenReviewSpec {
      // Token is the opaque bearer token.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/certificates/v1beta1/generated.proto

    option go_package = "k8s.io/api/certificates/v1beta1";
    
    // Describes a certificate signing request
    message CertificateSigningRequest {
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // spec contains the certificate request, and is immutable after creation.
      // Only the request, signerName, expirationSeconds, and usages fields can be set on creation.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

            null
          }
        }
    }
    
    /**
     * Builds a Junit Test Plan request for a fixed set of classes, or potentially a recursive package.
     */
    fun buildRequest(selectors: List<DiscoverySelector>): LauncherDiscoveryRequest {
      val request: LauncherDiscoveryRequest =
        LauncherDiscoveryRequestBuilder.request()
          // TODO replace junit.jupiter.extensions.autodetection.enabled with API approach.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. internal/http/headers.go

    	// Header indicates if its a GET/HEAD proxy request for active-active replication
    	MinIOSourceProxyRequest = "X-Minio-Source-Proxy-Request"
    	// Header indicates that this request is a replication request to create a REPLICA
    	MinIOSourceReplicationRequest = "X-Minio-Source-Replication-Request"
    	// Header checks replication permissions without actually completing replication
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs_src/path_operation_advanced_configuration/tutorial006.py

                            },
                        }
                    }
                },
                "required": True,
            },
        },
    )
    async def create_item(request: Request):
        raw_body = await request.body()
        data = magic_data_reader(raw_body)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 29 20:01:13 UTC 2021
    - 1K bytes
    - Viewed (0)
  8. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

        sendRequest(client, "https://google.com/robots.txt");
      }
    
      private void sendRequest(OkHttpClient client, String url) throws IOException {
        Request request = new Request.Builder()
                .url(url)
                .build();
        try (Response response = client.newCall(request).execute()) {
          assertTrue(response.code() == 200 || response.code() == 404);
          assertEquals(Protocol.HTTP_2, response.protocol());
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  9. cmd/admin-handlers-site-replication.go

    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // SiteReplicationAdd - PUT /minio/admin/v3/site-replication/add
    func (a adminAPIHandlers) SiteReplicationAdd(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.SiteReplicationAddAction)
    	if objectAPI == nil {
    		return
    	}
    
    	var sites []madmin.PeerSite
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. cmd/bucket-listobjects-handlers.go

    // Special conditions required by MinIO server are as below
    //   - delimiter if set should be equal to '/', otherwise the request is rejected.
    //   - marker if set should have a common prefix with 'prefix' param, otherwise
    //     the request is rejected.
    func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode {
    	// Max keys cannot be negative.
    	if maxKeys < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top