- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for cannotGzipWithAnotherContentEncoding (0.17 seconds)
-
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())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0)