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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
http::message::has_content_length

Returns true if the Content-Length field is present.

Synopsis
bool
has_content_length() const;
Description

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.


PrevUpHomeNext