diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorClientTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorClientTest.java index 32f4272c9b7..8da32731414 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorClientTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorClientTest.java @@ -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);