Skip to content

Instantly share code, notes, and snippets.

@d6y
Last active March 20, 2017 22:26
Show Gist options
  • Save d6y/0a66e86283ac8e84a311aa90c5bb26fa to your computer and use it in GitHub Desktop.
Save d6y/0a66e86283ac8e84a311aa90c5bb26fa to your computer and use it in GitHub Desktop.
protocol (master *)$ git diff
diff --git a/http/src/test/scala/spinoco/protocol/http/codec/HeaderCodecSpec.scala b/http/src/test/scala/spinoco/protocol/http/codec/HeaderCodecSpec.scala
index e181170..41015af 100644
--- a/http/src/test/scala/spinoco/protocol/http/codec/HeaderCodecSpec.scala
+++ b/http/src/test/scala/spinoco/protocol/http/codec/HeaderCodecSpec.scala
@@ -292,6 +292,9 @@ property("Accept-Ranges Header") = secure {
, ("Cookie: SESSID=298zf09hf012fh2; httponly"
, Cookie(HttpCookie("SESSID", "298zf09hf012fh2", None, None, None, None, false, httpOnly = true, Map.empty))
, "Cookie: SESSID=298zf09hf012fh2; httponly")
+ , ("Cookie: __utmz=118721.140907.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); Currency=%22usd%22"
+ , Cookie(HttpCookie("__utmz", "118721.140907.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)", None, None, None, None, false, false, Map("Currency" -> "%22usd%22")))
+ , "Cookie: __utmz=118721.140907.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); Currency=%22usd%22;")
))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment