Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2013-09-30 03:20:54 +0000
committerGreg Wilkins2013-09-30 03:20:54 +0000
commit0fd656dcbe0102c7e9deecaac9ac4de1a5016c62 (patch)
treecafe58a2aaa005745c33e137d934c30f62a698a6 /jetty-http
parent5f026206039e47d321f4e0369c758d809d857507 (diff)
parenta59439241f2c8a14ac3d428502b8453dcc448d4b (diff)
downloadorg.eclipse.jetty.project-0fd656dcbe0102c7e9deecaac9ac4de1a5016c62.tar.gz
org.eclipse.jetty.project-0fd656dcbe0102c7e9deecaac9ac4de1a5016c62.tar.xz
org.eclipse.jetty.project-0fd656dcbe0102c7e9deecaac9ac4de1a5016c62.zip
Merge remote-tracking branch 'origin/master' into jetty-9.1
Diffstat (limited to 'jetty-http')
-rw-r--r--jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java
index a55b34f389..13dbd77cd2 100644
--- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java
+++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java
@@ -272,6 +272,12 @@ public class HttpFieldsTest
public void testSetCookie() throws Exception
{
HttpFields fields = new HttpFields();
+
+ fields.addSetCookie("null",null,null,null,-1,null,false,false,-1);
+ assertEquals("null=",fields.getStringField("Set-Cookie"));
+
+ fields.clear();
+
fields.addSetCookie("minimal","value",null,null,-1,null,false,false,-1);
assertEquals("minimal=value",fields.getStringField("Set-Cookie"));

Back to the top