- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Foo (0.13 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.build() val request = Request("http://android.com/foo".toHttpUrl()) val response = client.newCall(request).execute() assertThat(response.body.string()).isEqualTo("response body") val get1 = server.takeRequest() assertThat(get1.requestLine).isEqualTo("GET http://android.com/foo HTTP/1.1") assertThat(get1.headers["Proxy-Authorization"]).isNull()
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) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
val urlPath = url.encodedPath if (urlPath == path) { return true // As in '/foo' matching '/foo'. } if (urlPath.startsWith(path)) { if (path.endsWith("/")) return true // As in '/' matching '/foo'. if (urlPath[path.length] == '/') return true // As in '/foo' matching '/foo/bar'. } return false } /**
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) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
* * ``` * http://google.com/foo * GET * 2 * Accept-Language: fr-CA * Accept-Charset: UTF-8 * HTTP/1.1 200 OK * 3 * Content-Type: image/png * Content-Length: 100 * Cache-Control: max-age=600 * ``` * * A typical HTTPS file looks like this: * * ``` * https://google.com/foo * GET * 2
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
MockResponse.Builder() .code(HttpURLConnection.HTTP_MOVED_PERM) .addHeader("Location: /foo") .build(), ) server.enqueue( MockResponse.Builder() .body("DEF") .build(), ) val request1 = Request.Builder().url(server.url("/foo")).build() val response1 = client.newCall(request1).execute() assertThat(response1.body.string()).isEqualTo("ABC")
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) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.play() // Play it back. val connection = connect(peer) val stream = connection.newStream(headerEntries("a", "android"), true) stream.enqueueTrailers(headersOf("foo", "bar")) val sink = stream.getSink().buffer() sink.writeUtf8("abcdefghi") sink.close() // Verify the peer received what was expected. val headers1 = peer.takeFrame()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)