Documentation tidying

This commit is contained in:
Vinnie Falco
2017-07-03 14:57:45 -07:00
parent 6b6c2e0f93
commit a281ca5384
2 changed files with 2 additions and 5 deletions

View File

@ -7,6 +7,7 @@ HTTP:
* Newly constructed responses have a 200 OK result * Newly constructed responses have a 200 OK result
* Refactor file_body for best practices * Refactor file_body for best practices
* Add http-server-threaded example * Add http-server-threaded example
* Documentation tidying
WebSocket: WebSocket:

View File

@ -210,11 +210,7 @@ send_cgi_response(
res.body.data = nullptr; res.body.data = nullptr;
res.body.more = true; res.body.more = true;
// Create the serializer. We set the split option to // Create the serializer.
// 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).
response_serializer<buffer_body, fields> sr{res}; response_serializer<buffer_body, fields> sr{res};
// Send the header immediately. // Send the header immediately.