24 #ifndef _HTTPRESPONSEHEADER_H_ 25 #define _HTTPRESPONSEHEADER_H_ 1 88 const std::string& reason_phrase);
109 addHeader(
const std::string& header);
119 addHeader(
const std::string& name,
120 const std::string& value);
127 inline const std::vector<std::string>&
146 inline const std::vector<HTTPCookie>&
164 inline const std::string&
166 {
return fHTTPVersion; }
176 {
return fStatusCode; }
186 {
return fReasonPhrase; }
205 { fHTTPVersion = http_version;
return *
this; }
216 { fStatusCode = status_code;
return *
this; }
227 { fReasonPhrase = reason_phrase;
return *
this; }
235 render(std::ostream& out)
const;
241 std::string fHTTPVersion;
243 std::string fReasonPhrase;
244 std::vector<std::string> fHeaders;
245 std::vector<HTTPCookie> fCookies;
Mix-in streamable interface.
Abstract base class for all streamable objects.
The namespace containing the cgicc library.