482855 - Content-Length omitted for POST requests with empty body
fixed merge
This commit is contained in:
parent
e78fcb59a4
commit
ab93529f6d
|
@ -91,8 +91,8 @@ public class HttpGeneratorClientTest
|
|||
Assert.assertEquals(HttpGenerator.State.START, gen.getState());
|
||||
|
||||
Info info = new Info("POST","/index.html");
|
||||
info.getHttpFields().add("Host","something");
|
||||
info.getHttpFields().add("User-Agent","test");
|
||||
info.getFields().add("Host","something");
|
||||
info.getFields().add("User-Agent","test");
|
||||
Assert.assertTrue(!gen.isChunking());
|
||||
|
||||
result=gen.generateRequest(info,null,null,null, true);
|
||||
|
|
Loading…
Reference in New Issue