Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,294 for server (0.09 sec)

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

            body = "ABCDEFGHIJKLMNOPQR",
          )
        server.enqueue(response)
        server.enqueue(response)
        server.enqueue(response)
        assertContent("ABCDEFGHIJKLMNOPQR", getResponse(newRequest("/foo")))
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertContent("ABCDEFGHIJKLMNOPQR", getResponse(newRequest("/bar?baz=quux")))
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SocksProxyTest.kt

      private lateinit var server: MockWebServer
      private val socksProxy = SocksProxy()
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        socksProxy.play()
      }
    
      @AfterEach
      fun tearDown() {
        socksProxy.shutdown()
      }
    
      @Test
      fun proxy() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        server.enqueue(MockResponse.Builder().body("def").build())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

      private class ServersForTest {
        private val servers = mutableMapOf<String, MockWebServer>()
        private var started = false
    
        fun server(name: String): MockWebServer {
          return servers.getOrPut(name) {
            MockWebServer().also {
              if (started) it.start()
            }
          }
        }
    
        fun startAll() {
          started = true
          for (server in servers.values) {
            server.start()
          }
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

      }
    
      @Test
      fun shutdownWithoutStart() {
        val server = MockWebServer()
        server.shutdown()
      }
    
      @Test
      fun closeViaClosable() {
        val server: Closeable = MockWebServer()
        server.close()
      }
    
      @Test
      fun shutdownWithoutEnqueue() {
        val server = MockWebServer()
        server.start()
        server.shutdown()
      }
    
      @Test
      fun portImplicitlyStarts() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. docs/iam/opa.md

    ```sh
    export MINIO_POLICY_PLUGIN_URL=http://localhost:8181/v1/data/httpapi/authz/allow
    export MINIO_CI_CD=1
    export MINIO_ROOT_USER=minio
    export MINIO_ROOT_PASSWORD=minio123
    minio server /mnt/data
    ```
    
    ### 5. Test with a regular IAM user
    
    Ensure that `mc` is installed and the configured with the above server with the alias `myminio`.
    
    ```sh
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. docs/security/README.md

    ## Server-Side Encryption
    
    MinIO supports two different types of server-side encryption ([SSE](#sse)):
    
    - **SSE-C**: The MinIO server en/decrypts an object with a secret key provided by the S3 client as part of the HTTP request headers. Therefore, [SSE-C](#ssec) requires TLS/HTTPS.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

      @RegisterExtension
      var platform = PlatformRule()
    
      @RegisterExtension
      var clientTestRule = OkHttpClientTestRule()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setup(server: MockWebServer) {
        this.server = server
        platform.assumeNotBouncyCastle()
      }
    
      /**
       * The pinner should pull the root certificate from the trust manager.
       */
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. .github/workflows/mint/nginx.conf

        upstream minio {
            server minio1:9000 max_fails=1 fail_timeout=10s;
            server minio2:9000 max_fails=1 fail_timeout=10s;
            server minio3:9000 max_fails=1 fail_timeout=10s;
            server minio4:9000 max_fails=1 fail_timeout=10s;
        }
    
        upstream console {
            ip_hash;
            server minio1:9001;
            server minio2:9001;
            server minio3:9001;
            server minio4:9001;
        }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      @Test
      fun multipleDnsLookupsForSingleCall() {
        server.enqueue(
          MockResponse.Builder()
            .code(301)
            .setHeader("Location", "http://www.fakeurl:" + server.port)
            .build(),
        )
        server.enqueue(MockResponse())
        val dns = FakeDns()
        dns["fakeurl"] = client.dns.lookup(server.hostName)
        dns["www.fakeurl"] = client.dns.lookup(server.hostName)
        client =
          client.newBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  10. internal/http/server_test.go

    			t.Fatalf("Case %v: server.Addrs: expected: %v, got: %v", (i + 1), testCase.addrs, server.Addrs)
    		}
    
    		if testCase.certFn == nil {
    			if server.TLSConfig != nil {
    				t.Fatalf("Case %v: server.TLSConfig: expected: <nil>, got: %v", (i + 1), server.TLSConfig)
    			}
    		} else {
    			if server.TLSConfig == nil {
    				t.Fatalf("Case %v: server.TLSConfig: expected: <non-nil>, got: <nil>", (i + 1))
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top