Fields concept work

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:18 -07:00
parent f363654300
commit 943830f6ed
20 changed files with 675 additions and 343 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ public:
flat_buffer buffer;
request<string_body> req;
req.version = 11;
req.method("POST");
req.method_string("POST");
req.target("/");
req.insert(field::user_agent, "test");
req.body = "Hello, world!";
@@ -101,7 +101,7 @@ public:
{
request<string_body> req;
req.version = 11;
req.method("POST");
req.method_string("POST");
req.target("/");
req.insert(field::user_agent, "test");
req.body = "Hello, world!";