Skip to content

Commit 3425a30

Browse files
author
Stephane Landelle
committed
Fix test, set Content-Length
1 parent acdb7e4 commit 3425a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/ning/http/client/async/NTLMTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void handle(String pathInContext, org.eclipse.jetty.server.Request reques
5757
} else {
5858
httpResponse.setStatus(401);
5959
}
60-
60+
httpResponse.setContentLength(0);
6161
httpResponse.getOutputStream().flush();
6262
httpResponse.getOutputStream().close();
6363
}

0 commit comments

Comments
 (0)