- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testBodyStringAfterStreamThrowsException (0.16 seconds)
-
src/test/java/org/codelibs/curl/CurlRequestTest.java
assertSame(request, result); // Fluent API assertNull(request.body()); // body() returns String body, not stream } @Test public void testBodyStringAfterStreamThrowsException() { CurlRequest request = new CurlRequest(Method.POST, "https://example.com"); InputStream stream = new ByteArrayInputStream("test data".getBytes()); request.body(stream);Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0)