restcgi::content_hdr Class Reference

Inheritance diagram for restcgi::content_hdr:

restcgi::hdr List of all members.

Detailed Description

Entity content HTTP header fields.

These are the entity fields that are directly related to the content in the response message, the "representation" of the entity. The others are in the response_hdr.

See also:
response_hdr

http://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.1


Public Member Functions

 content_hdr ()
 construct
std::string content_encoding () const
 get content encoding
bool content_encoding (const std::string &v)
 set content encoding
std::string content_language () const
 get content language
bool content_language (const std::string &v)
 set content language
bool content_length (size_t &v, size_t dflt) const
 get content length as size
bool content_length (size_t v)
 set content length from size
std::string content_md5 () const
 get content md5
bool content_md5 (const std::string &v)
 set content md5
std::string content_range () const
 get content range
bool content_range (const std::string &v)
 set content range
std::string content_type () const
 get content type
bool content_type (const std::string &v)
 set content type


Generated on Fri May 15 11:27:12 2009 for restcgi by  doxygen 1.4.7