File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
playwright/src/test/java/com/microsoft/playwright Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,12 @@ void shouldSetBodySizeTo0IfThereWasNoBody() {
5353 }
5454
5555 @ Test
56- @ Disabled ("responseBodySize == 16" )
5756 void shouldSetBodySizeHeadersSizeAndTransferSize () throws ExecutionException , InterruptedException {
5857 server .setRoute ("/get" , exchange -> {
5958 // In Firefox, |fetch| will be hanging until it receives |Content-Type| header
6059 // from server.
6160 exchange .getResponseHeaders ().add ("Content-Type" , "text/plain; charset=utf-8" );
62- exchange .sendResponseHeaders (200 , 0 );
61+ exchange .sendResponseHeaders (200 , 6 );
6362 try (OutputStreamWriter writer = new OutputStreamWriter (exchange .getResponseBody ())) {
6463 writer .write ("abc134" );
6564 }
You can’t perform that action at this time.
0 commit comments