Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for 443 (0.17 sec)

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

        val connect = server.takeRequest()
        assertThat(connect.requestLine, "Connect line failure on proxy")
          .isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect.headers["Host"]).isEqualTo("android.com:443")
        val get = server.takeRequest()
        assertThat(get.requestLine).isEqualTo("GET /foo HTTP/1.1")
        assertThat(get.headers["Host"]).isEqualTo("android.com")
    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)
  2. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun changingSchemeChangesDefaultPort() {
        assertThat(
          parse("http://example.com")
            .newBuilder()
            .scheme("https")
            .build().port,
        ).isEqualTo(443)
        assertThat(
          parse("https://example.com")
            .newBuilder()
            .scheme("http")
            .build().port,
        ).isEqualTo(80)
        assertThat(
          parse("https://example.com:1234")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  3. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

            QuicOptions.Builder()
              .addAllowedQuicHost("google.com")
              .addAllowedQuicHost("www.google.com")
              .build(),
          )
          .addQuicHint("google.com", 443, 443)
          .addQuicHint("www.google.com", 443, 443)
          .build()
    
      @After
      fun tearDown() {
        engine.shutdown()
        cacheDir.deleteRecursively()
      }
    
      @Test
      fun get() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Connection.kt

     *
     *  * Server Name Indication (SNI) enables one IP address to negotiate secure connections for
     *    multiple domain names.
     *
     *  * Application Layer Protocol Negotiation (ALPN) enables the HTTPS port (443) to be used to
     *    negotiate HTTP/2.
     *
     * Unfortunately, older HTTPS servers refuse to connect when such options are presented. Rather than
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    httpa://foo:80/  s:httpa p://foo:80/
    http://foo:-80/
    https://foo:443/  s:https h:foo p:/
    https://foo:80/  s:https h:foo port:80 p:/
    ftp://foo:21/  s:ftp h:foo p:/
    ftp://foo:80/  s:ftp h:foo port:80 p:/
    gopher://foo:70/  s:gopher h:foo p:/
    gopher://foo:443/  s:gopher h:foo port:443 p:/
    ws://foo:80/  s:ws h:foo p:/
    ws://foo:81/  s:ws h:foo port:81 p:/
    ws://foo:443/  s:ws h:foo port:443 p:/
    ws://foo:815/  s:ws h:foo port:815 p:/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CookiesTest.kt

                "CommentURL=\"http://google.com/\"; " +
                "Discard; " +
                "Domain=${urlWithIpAddress.host}; " +
                "Max-Age=60; " +
                "Path=\"/path\"; " +
                "Port=\"80,443,${server.port}\"; " +
                "Secure; " +
                "Version=\"1\"",
            )
            .build(),
        )
        get(urlWithIpAddress)
        val cookies = cookieManager.cookieStore.cookies
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Route.kt

        return result
      }
    
      /**
       * Returns a string with the URL hostname, socket IP address, and socket port, like one of these:
       *
       *  * `example.com:80 at 1.2.3.4:8888`
       *  * `example.com:443 via proxy [::1]:8888`
       *
       * This omits duplicate information when possible.
       */
      override fun toString(): String {
        return buildString {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/features/interceptors.md

    Content-Type: text/html
    Content-Length: 193
    Connection: keep-alive
    Location: https://publicobject.com/helloworld.txt
    
    INFO: Sending request https://publicobject.com/helloworld.txt on Connection{publicobject.com:443, proxy=DIRECT hostAddress=54.187.32.157 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1}
    User-Agent: OkHttp Example
    Host: publicobject.com
    Connection: Keep-Alive
    Accept-Encoding: gzip
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       * For example, this returns 8443 for `https://square.com:8443/` and 443 for
       * `https://square.com/`. The result is in `[1..65535]`.
       *
       * | URL                 | `port()` |
       * | :------------------ | :------- |
       * | `http://host/`      | `80`     |
       * | `http://host:8000/` | `8000`   |
       * | `https://host/`     | `443`    |
       */
      @get:JvmName("port") val port: Int,
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

        val connect1 = server.takeRequest()
        assertThat(connect1.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect1.headers["Proxy-Authorization"]).isNull()
        val connect2 = server.takeRequest()
        assertThat(connect2.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect2.headers["Proxy-Authorization"]).isEqualTo("password")
        val get = server.takeRequest()
    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)
Back to top