From a3f79232c6a36b61d88a309ea23ad7294afb42d5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 6 Mar 2015 02:41:07 +0900 Subject: [PATCH] asio: Use proper cookie syntax --- examples/asio-cl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/asio-cl.cc b/examples/asio-cl.cc index 8bc069ad..69f46ba4 100644 --- a/examples/asio-cl.cc +++ b/examples/asio-cl.cc @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) { std::cerr << "connected to " << (*endpoint_it).endpoint() << std::endl; boost::system::error_code ec; auto req = sess.submit(ec, "GET", "https://localhost:3000/", - "hello world", {{"cookie", {"foobar", true}}}); + {{"cookie", {"foo=bar", true}}}); if (ec) { std::cerr << "error: " << ec.message() << std::endl; return;