Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for Calm (0.01 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      }
    
      private fun addFinalFailingResponse() {
        // Should not get to this response, so fail if so.
        // Avoids timeout on error
        server.enqueue(MockResponse(code = 420, body = "Enhance Your Calm"))
      }
    
      @Test
      fun evictAll() {
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Cache-Control: max-age=60")
            .body("A")
            .build(),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt

        )
      }
    
      @Test fun escapedCharactersInQuotedString() {
        val headers =
          Headers
            .Builder()
            .add("WWW-Authenticate", "Digest,,,, Basic ,,,realm=\"my\\\\\\\"r\\ealm\"")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
          Challenge("Digest", mapOf()),
          Challenge("Basic", mapOf("realm" to "my\\\"realm")),
        )
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 16.8K bytes
    - Click Count (0)
Back to Top