Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 588 for Host (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

    package okhttp3
    
    import java.net.InetAddress
    import java.net.UnknownHostException
    import java.util.concurrent.CountDownLatch
    import okio.IOException
    
    /**
     * An async domain name service that resolves IP addresses for host names.
     *
     * The main implementations will typically be implemented using specific DNS libraries such as
     *  * Android DnsResolver
     *  * OkHttp DnsOverHttps
     *  * dnsjava Resolver
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/InsecureForHostTest.kt

      fun setup(server: MockWebServer) {
        this.server = server
    
        // BCX509ExtendedTrustManager not supported in TlsUtil.newTrustManager
        platform.assumeNotBouncyCastle()
      }
    
      @Test fun `untrusted host in insecureHosts connects successfully`() {
        val serverCertificates = platform.localhostHandshakeCertificates()
        server.useHttps(serverCertificates.sslSocketFactory())
        server.enqueue(MockResponse())
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

      val client =
        OkHttpClient.Builder()
          .trustMockServer()
          .build()
    
      @Test
      fun testRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          // If the domain is present, it must domain match. Otherwise we have a host-only cookie.
          val urlHost = url.host
          if (domain == null) {
            domain = urlHost
          } else if (!domainMatch(urlHost, domain)) {
            return null // No domain match? This is either incompetence or malice!
          }
    
          // If the domain is a suffix of the url host, it must not be a public suffix.
          if (urlHost.length != domain.length &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

          result.add(Header(TARGET_METHOD, request.method))
          result.add(Header(TARGET_PATH, RequestLine.requestPath(request.url)))
          val host = request.header("Host")
          if (host != null) {
            result.add(Header(TARGET_AUTHORITY, host)) // Optional.
          }
          result.add(Header(TARGET_SCHEME, request.url.scheme))
    
          for (i in 0 until headers.size) {
            // header names must be lowercase.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

                challenge.scheme,
                url.toUrl(),
                Authenticator.RequestorType.PROXY,
              )
            } else {
              Authenticator.requestPasswordAuthentication(
                url.host,
                proxy.connectToInetAddress(url, dns),
                url.port,
                url.scheme,
                challenge.realm,
                challenge.scheme,
                url.toUrl(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/InterceptorTest.kt

        )
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            // The network request has everything: User-Agent, Host, Accept-Encoding.
            val networkRequest = chain.request()
            assertThat(networkRequest.header("User-Agent")).isNotNull()
            assertThat(networkRequest.header("Host")).isEqualTo(
              server.hostName + ":" + server.port,
            )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/core/v1/generated.proto

      // Name must be an IANA_SVC_NAME.
      optional k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
    
      // Host name to connect to, defaults to the pod IP. You probably want to set
      // "Host" in httpHeaders instead.
      // +optional
      optional string host = 3;
    
      // Scheme to use for connecting to the host.
      // Defaults to HTTP.
      // +optional
      optional string scheme = 4;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  9. docs/iam/access-management-plugin.md

    Now, let's test it out with `mc`:
    
    ```sh
    mc alias set myminio http://localhost:9000 minio minio123
    mc ls myminio
    mc mb myminio/test
    mc cp /etc/issue myminio/test
    mc admin user add myminio foo foobar123
    export MC_HOST_foo=http://foo:foobar123@localhost:9000
    mc ls foo
    mc cp /etc/issue myminio/test/issue2
    ```
    
    Only the last operation would fail with a permissions error.
    
    ## Configuration
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 13 22:28:48 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  10. cni/README.md

    | HOST_PROBE_SNAT_IP | "169.254.7.127" | Applied to SNAT host probe packets, so they can be identified/skipped podside. Any link-local address in the 169.254.0.0/16 block can be used |
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top