From a0a80359fe8b7153c3985ccbbfb0ccf458bd634e Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Sat, 6 Jan 2024 17:54:37 +0000 Subject: [PATCH] Fix list format in documentation for `http::message::prepare_payload` --- include/boost/beast/http/message.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/boost/beast/http/message.hpp b/include/boost/beast/http/message.hpp index 109a2a99..d1039826 100644 --- a/include/boost/beast/http/message.hpp +++ b/include/boost/beast/http/message.hpp @@ -853,12 +853,11 @@ public: req.prepare_payload(); @endcode - @note This function is not necessary to call in - the following situations: + @note - @li The request doesn't contain a body, such as - in a GET or HEAD request. + This function is not necessary to call in the following situations: + @li The request doesn't contain a body, such as in a GET or HEAD request. @li The Content-Length and Transfer-Encoding are set manually. */ void