mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 05:17:26 +02:00
Documentation tidying
This commit is contained in:
@ -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:
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
Reference in New Issue
Block a user