parent
966cc2dcba
commit
c1b03c6d8c
|
@ -256,10 +256,15 @@ public class HttpClientTest extends AbstractTest
|
|||
{
|
||||
@Override
|
||||
public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
|
||||
{
|
||||
try
|
||||
{
|
||||
baseRequest.setHandled(true);
|
||||
response.getOutputStream().write(new byte[length]);
|
||||
}
|
||||
catch(IOException e)
|
||||
{}
|
||||
}
|
||||
});
|
||||
|
||||
// Make a request with a large enough response buffer.
|
||||
|
|
Loading…
Reference in New Issue