9 #ifndef _c08db816_ac02_484c_8e9a_ab816c5198c7
10 #define _c08db816_ac02_484c_8e9a_ab816c5198c7
24 class ODIL_API HTTPResponse:
public Message
34 std::string
const & http_version=
"",
35 unsigned int status=0, std::string
const & reason=
"",
36 Headers const & headers={}, std::string
const & body=
"");
45 std::string
const & get_http_version()
const;
48 void set_http_version(std::string
const & http_version);
51 unsigned int get_status()
const;
54 void set_status(
unsigned int status);
57 std::string
const & get_reason()
const;
60 void set_reason(std::string
const & target);
63 std::string _http_version;
71 operator>>(std::istream & stream, HTTPResponse & Response);
76 operator<<(std::ostream & stream, HTTPResponse
const & Response);
82 #endif // _c08db816_ac02_484c_8e9a_ab816c5198c7