Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2023. The current version is 1.89.0.
Set or clear the Content-Length field.
void content_length( boost::optional< std::uint64_t > const& value);
This function adjusts the Content-Length field as follows:
value specifies
a value, the Content-Length field is set to the value. Otherwise
If "chunked" token appears as the last item in the Transfer-Encoding field it is unconditionally removed.
|
Name |
Description |
|---|---|
|
|
The value to set for Content-Length. |