restcgi::response_hdr Class Reference

Inheritance diagram for restcgi::response_hdr:

restcgi::general_hdr restcgi::hdr restcgi::cookies::observer List of all members.

Detailed Description

Response, general, and some entity HTTP header fields.

The entity fields that are related more to the entity itself than its representation and are stored here (the others are in the content_hdr). They are:

See also:
content_hdr

http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.2

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


Public Member Functions

 response_hdr ()
 construct
std::string accept_ranges () const
 get accept ranges
bool accept_ranges (const std::string &v)
 set accept ranges
bool age (size_t &v, size_t dflt) const
 get age as size
bool age (size_t v)
 set age from size
std::string allow () const
 get allow
bool allow (const std::string &v)
 set allow
std::string content_location () const
 get content location (URI????)
bool content_location (const std::string &v)
 set content location (URI????)
std::string etag () const
 get etag
bool etag (const std::string &v)
 set etag
bool expires (date_time &v, const date_time &dflt) const
 get expires as date_time
bool expires (const date_time &v)
 set expires from date_time
bool last_modified (date_time &v, const date_time &dflt) const
 get last modified as date_time
bool last_modified (const date_time &v)
 set last modified from date_time
std::string location () const
 get location (URI????)
bool location (const std::string &v)
 set location (URI????)
std::string proxy_authenticate () const
 get proxy authenticate
bool proxy_authenticate (const std::string &v)
 set proxy authenticate
bool retry_after (date_time &dt, size_t &secs) const
 get retry after
bool retry_after (const date_time &v)
 set retry after from date_time
bool retry_after (size_t v)
 set retry after from size
std::string server () const
 get server
bool server (const std::string &v)
 set server
std::string vary () const
 get vary
bool vary (const std::string &v)
 set vary
std::string www_authenticate () const
 get www authenticate
bool www_authenticate (const std::string &v)
 set www authenticate


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