Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for qrls (0.15 sec)

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

        assertThat(parse("http://username:@host/path"))
          .isEqualTo(parse("http://username@host/path"))
      }
    
      @Test
      fun passwordWithEmptyUsername() {
        // Chrome doesn't mind, but Firefox rejects URLs with empty usernames and non-empty passwords.
        assertThat(parse("http://:@host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http://:password@@host/path").encodedPassword)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. docs/features/https.md

     * `COMPATIBLE_TLS` is a secure configuration that connects to secure–but not current–HTTPS servers.
     * `CLEARTEXT` is an insecure configuration that is used for `http://` URLs.
    
    These loosely follow the model set in [Google Cloud Policies](https://cloud.google.com/load-balancing/docs/ssl-policies-concepts). We [track changes](../security/tls_configuration_history.md) to this policy.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

              percentEncoded.writeUtf8("%")
                .writeUtf8(ByteString.of(utf8[i]).hex().uppercase())
            }
            return percentEncoded.readUtf8()
          }
        },
    
        /** URLs that contain this character in this component are invalid.  */
        FORBIDDEN,
    
        /** Hostnames that contain this character are encoded with punycode.  */
        PUNYCODE,
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

            .build(),
        )
        val urlC = server.url("/c")
        assertThat(get(urlC).body.string()).isEqualTo("c")
    
        // Confirm the iterator returns those responses...
        val i: Iterator<String> = cache.urls()
        assertThat(i.hasNext()).isTrue()
        assertThat(i.next()).isEqualTo(urlA.toString())
        assertThat(i.hasNext()).isTrue()
        assertThat(i.next()).isEqualTo(urlB.toString())
        assertThat(i.hasNext()).isTrue()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  5. okhttp/api/okhttp.api

    	public static final fun key (Lokhttp3/HttpUrl;)Ljava/lang/String;
    	public final fun maxSize ()J
    	public final fun networkCount ()I
    	public final fun requestCount ()I
    	public final fun size ()J
    	public final fun urls ()Ljava/util/Iterator;
    	public final fun writeAbortCount ()I
    	public final fun writeSuccessCount ()I
    }
    
    public final class okhttp3/Cache$Companion {
    	public final fun hasVaryAll (Lokhttp3/Response;)Z
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

    import okhttp3.internal.hasIntersection
    import okhttp3.internal.indexOf
    import okhttp3.internal.intersect
    
    /**
     * Specifies configuration for the socket connection that HTTP traffic travels through. For `https:`
     * URLs, this includes the TLS version and cipher suites to use when negotiating a secure
     * connection.
     *
     * The TLS versions configured in a connection spec are only be used if they are also enabled in the
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/TestTls13Request.kt

          "https://connect.squareup.com/robots.txt",
        )
    
      println("TLS1.3+TLS1.2")
      testClient(urls, buildClient(ConnectionSpec.RESTRICTED_TLS))
    
      println("\nTLS1.3 only")
      testClient(urls, buildClient(TLS_13))
    
      println("\nTLS1.3 then fallback")
      testClient(urls, buildClient(TLS_13, TLS_12))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

      if (result == null) {
        result = CacheControl.parse(headers)
        lazyCacheControl = result
      }
      return result
    }
    
    internal fun canonicalUrl(url: String): String {
      // Silently replace web socket URLs with HTTP URLs.
      return when {
        url.startsWith("ws:", ignoreCase = true) -> {
          "http:${url.substring(3)}"
        }
        url.startsWith("wss:", ignoreCase = true) -> {
          "https:${url.substring(4)}"
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

       */
      @Throws(IOException::class)
      fun evictAll() {
        cache.evictAll()
      }
    
      /**
       * Returns an iterator over the URLs in this cache. This iterator doesn't throw
       * `ConcurrentModificationException`, but if new responses are added while iterating, their URLs
       * will not be returned. If existing responses are evicted during iteration, they will be absent
       * (unless they were already returned).
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. docs/features/connections.md

    ### [URLs](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-http-url/)
    
    URLs (like `https://github.com/square/okhttp`) are fundamental to HTTP and the Internet. In addition to being a universal, decentralized naming scheme for everything on the web, they also specify how to access web resources.
    
    URLs are abstract:
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
Back to top