Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Baz (0.14 sec)

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

          ) {
            return null
          }
    
          // If the path is absent or didn't start with '/', use the default path. It's a string like
          // '/foo/bar' for a URL like 'http://example.com/foo/bar/baz'. It always starts with '/'.
          if (path == null || !path.startsWith("/")) {
            val encodedPath = url.encodedPath
            val lastSlash = encodedPath.lastIndexOf('/')
    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)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        val request3 = Request.Builder().url(server.url("/baz")).build()
        val response3 = client.newCall(request3).execute()
        assertThat(response3.body.string()).isEqualTo("DEF")
        val recordedRequest3 = server.takeRequest()
        assertThat(recordedRequest3.requestLine).isEqualTo("GET /baz HTTP/1.1")
        assertThat(recordedRequest3.sequenceNumber).isEqualTo(2)
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top