...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns true
if the Content-Length
field is present.
bool has_content_length() const;
This function inspects the fields and returns true
if the Content-Length field is present. The properties of the body are
not checked, this only looks for the field.