jetty-9: HttpManyWaysToAsyncCommitTest added
This commit is contained in:
parent
b0537707e3
commit
be73cf1972
File diff suppressed because it is too large
Load Diff
|
@ -556,8 +556,7 @@ public class HttpManyWaysToCommitTest
|
|||
writer.println("\r\n");
|
||||
writer.flush();
|
||||
|
||||
Response response = readResponse(reader);
|
||||
return response;
|
||||
return readResponse(reader);
|
||||
}
|
||||
|
||||
private Response readResponse(BufferedReader reader) throws IOException
|
||||
|
@ -651,8 +650,9 @@ public class HttpManyWaysToCommitTest
|
|||
char c = (char)reader.read();
|
||||
body.append(c);
|
||||
}
|
||||
line = reader.readLine();
|
||||
// assertThat("chunk is followed by an empty line", line, is("")); //TODO: is this right? - NO. Don't think you can really do chunks with readline generally, but maybe for this test is OK.
|
||||
reader.readLine();
|
||||
// assertThat("chunk is followed by an empty line", line, is("")); //TODO: is this right? - NO. Don't
|
||||
// think you can really do chunks with read line generally, but maybe for this test is OK.
|
||||
}
|
||||
return body;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue