- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Post (0.19 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
.isEqualTo(parse("http://host/path")) assertThat(parse("http:\\\\host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:///host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:\\//host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:/\\/host/path")) .isEqualTo(parse("http://host/path"))
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) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
.build(), ) val ipAddress = InetAddress.getLoopbackAddress().hostAddress val call = client.newCall( Request.Builder() .url(server.url("/").newBuilder().host(ipAddress!!).build()) .build(), ) val response = call.execute() assertThat(response.code).isEqualTo(200) assertThat(response.body.string()).isEqualTo("abc") response.body.close()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 56.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
}, ), ) val response = call.execute() assertThat(response.body.string()).isEqualTo("ABCDE") val request = server.takeRequest() assertThat(request.requestLine).isEqualTo("POST /foo HTTP/1.1") assertArrayEquals(postBytes, request.body.readByteArray()) assertThat(request.headers["Content-Length"]).isNull() } @ParameterizedTest @ArgumentsSource(ProtocolParamProvider::class)
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/main/kotlin/okhttp3/HttpUrl.kt
) } /** * @param host either a regular hostname, International Domain Name, IPv4 address, or IPv6 * address. */ fun host(host: String) = apply { val encoded = host.percentDecode().toCanonicalHost() ?: throw IllegalArgumentException("unexpected host: $host") this.host = encoded } fun port(port: Int) =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* Sets the socket factory and trust manager used to secure HTTPS connections. If unset, the * system defaults will be used. * * Most applications should not call this method, and instead use the system defaults. Those * classes include special optimizations that can be lost if the implementations are decorated. * * If necessary, you can create and configure the defaults yourself with the following code: *
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) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
set("b", "bb", "bbb") // Cause the cache trim job to fail. filesystem.setFaultyDelete(cacheDir / "a.0", true) taskFaker.runNextTask() // An edit should now add a job to clean up if the most recent trim failed. assertThat(cache.edit("b")).isNull() taskFaker.runNextTask() // Confirm a successful cache trim now allows edits. filesystem.setFaultyDelete(cacheDir / "a.0", false)
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) -
okhttp/api/okhttp.api
public final fun -deprecated_encodedQuery ()Ljava/lang/String; public final fun -deprecated_encodedUsername ()Ljava/lang/String; public final fun -deprecated_fragment ()Ljava/lang/String; public final fun -deprecated_host ()Ljava/lang/String; public final fun -deprecated_password ()Ljava/lang/String; public final fun -deprecated_pathSegments ()Ljava/util/List; public final fun -deprecated_pathSize ()I public final fun -deprecated_port ()I
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
val stream = connection.newStream(headerEntries("a", "android"), false) assertThat(connection.peerSettings.initialWindowSize).isEqualTo(3368) // New Stream is has the most recent initial window size. assertThat(stream.writeBytesTotal).isEqualTo(0L) assertThat(stream.writeBytesMaximum).isEqualTo(3368L) } @Test fun peerHttp2ServerZerosCompressionTable() {
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)