Created
April 8, 2014 18:08
-
-
Save bbrowning/10164920 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/servlet/src/test/java/io/undertow/servlet/test/streams/ServletInputStreamTestCase.java b/servlet/src/test/java/io/undertow/servlet/test/streams/ServletInputStreamTestCase.java | |
index fb00498..d423189 100644 | |
--- a/servlet/src/test/java/io/undertow/servlet/test/streams/ServletInputStreamTestCase.java | |
+++ b/servlet/src/test/java/io/undertow/servlet/test/streams/ServletInputStreamTestCase.java | |
@@ -95,6 +95,16 @@ public class ServletInputStreamTestCase { | |
//} | |
} | |
+ @Test | |
+ public void testAsyncServletInputStreamWithEmptyRequestBody() { | |
+ String message = ""; | |
+ try { | |
+ runTest(message, ASYNC_SERVLET); | |
+ } catch (Throwable e) { | |
+ throw new RuntimeException("test failed", e); | |
+ } | |
+ } | |
+ | |
private void runTestViaJavaImpl(final String message, String url) | |
throws IOException { | |
HttpURLConnection urlcon = null; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment