22 #ifndef _IIPRESPONSE_H
23 #define _IIPRESPONSE_H
26 #define VERSION "0.9.9.9"
31 #define snprintf _snprintf
51 std::string responseBody;
69 void setLastModified(
const std::string& m ) { modified =
"Last-Modified: " + m; };
108 void setError(
const std::string& code,
const std::string& arg );
117 if( error.length() || responseBody.length() || protocol.length() )
return true;
124 if( error.length() )
return true;
139 std::string
getAdvert(
const std::string& version );