We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9cbce6 commit 9dafda3Copy full SHA for 9dafda3
1 file changed
coverage-report/src/test/java/org/jooby/issues/Issue375.java
@@ -0,0 +1,20 @@
1
+package org.jooby.issues;
2
+
3
+import org.jooby.test.ServerFeature;
4
+import org.junit.Test;
5
6
+public class Issue375 extends ServerFeature {
7
8
+ {
9
+ get("/375", req -> req.cookie("X").value());
10
+ }
11
12
+ @Test
13
+ public void shouldHandleOldCookieHeader() throws Exception {
14
+ request()
15
+ .get("/375")
16
+ .header("Cookie", "X=x; $Version=1; $Path=/")
17
+ .expect("x");
18
19
20
+}
0 commit comments