- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for cannotGzipWithAnotherContentEncoding (0.22 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
.url("https://square.com/") .gzip() .build() }.also { assertThat(it).hasMessage("cannot gzip a request that has no body") } } @Test fun cannotGzipWithAnotherContentEncoding() { assertFailsWith<IllegalStateException> { Request .Builder() .url("https://square.com/") .post("This is the original message".toRequestBody())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 19K bytes - Viewed (0)