Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for origin (0.14 sec)

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

        assertThat(url.resolve("").toString()).isEqualTo("http://%25:%25@host/%25?%25")
      }
    
      /**
       * Although HttpUrl prefers percent-encodings in uppercase, it should preserve the exact structure
       * of the original encoding.
       */
      @Test
      fun rawEncodingRetained() {
        val urlString = "http://%6d%6D:%6d%6D@host/%6d%6D?%6d%6D#%6d%6D"
        val url = parse(urlString)
    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)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      /**
       * Returns an immutable list of interceptors that observe the full span of each call: from before
       * the connection is established (if any) until after the response source is selected (either the
       * origin server, cache, or both).
       */
      @get:JvmName("interceptors")
      val interceptors: List<Interceptor> =
        builder.interceptors.toImmutableList()
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        call its callback now gets a `RejectedExecutionException`.
     *  Fix: Don't permanently cache responses with `Cache-Control: immutable`. We misunderstood the
        original `immutable` proposal!
     *  Fix: Change `Authenticator`'s `Route` parameter to be nullable. This was marked as non-null but
        could be called with null in some cases.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        set("k1", "a", "a")
    
        // Create an editor, then detach it.
        val editor = cache.edit("k1")!!
        editor.newSink(0).buffer().use { sink ->
          cache.evictAll()
    
          // Complete the original edit. It goes into a black hole.
          sink.writeUtf8("bb")
        }
        assertThat(cache["k1"]).isNull()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
Back to top