From a281ca538476e7f15366fc8f40b3e2287a8ce3d2 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 3 Jul 2017 14:57:45 -0700 Subject: [PATCH] Documentation tidying --- CHANGELOG.md | 1 + example/doc/http_examples.hpp | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc28e88b..26dd255e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ HTTP: * Newly constructed responses have a 200 OK result * Refactor file_body for best practices * Add http-server-threaded example +* Documentation tidying WebSocket: diff --git a/example/doc/http_examples.hpp b/example/doc/http_examples.hpp index 34b2fc2b..3e3526b2 100644 --- a/example/doc/http_examples.hpp +++ b/example/doc/http_examples.hpp @@ -210,11 +210,7 @@ send_cgi_response( res.body.data = nullptr; res.body.more = true; - // Create the serializer. We set the split option to - // produce the header immediately without also trying - // to acquire buffers from the body (which would return - // the error http::need_buffer because we set `data` - // to `nullptr` above). + // Create the serializer. response_serializer sr{res}; // Send the header immediately.