- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for contentLengthHeaderIsForbidden (0.12 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt
multipart.addPart( headersOf("Content-Type", "text/plain"), "Hello, World!".toRequestBody(null), ) } } @Test fun contentLengthHeaderIsForbidden() { val multipart = MultipartBody.Builder() assertFailsWith<IllegalArgumentException> { multipart.addPart( headersOf("Content-Length", "13"), "Hello, World!".toRequestBody(null),
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.5K bytes - Click Count (0)