9 #ifndef _a927d586_9154_4f1e_bd56_82f2b6f0450d
10 #define _a927d586_9154_4f1e_bd56_82f2b6f0450d
25 class ODIL_API HTTPRequest:
public Message
35 std::string
const & method=
"", URL
const & target={},
36 std::string
const & http_version=
"HTTP/1.0",
37 Headers const & headers={}, std::string
const & body=
"");
46 std::string
const & get_method()
const;
49 void set_method(std::string
const & method);
52 URL const & get_target()
const;
55 void set_target(
URL const & target);
58 std::string
const & get_http_version()
const;
61 void set_http_version(std::string
const & http_version);
66 std::string _http_version;
72 operator>>(std::istream & stream, HTTPRequest & request);
76 operator<<(std::ostream & stream, HTTPRequest
const & request);
82 #endif // _a927d586_9154_4f1e_bd56_82f2b6f0450d