#endif // DEBUG
}
-/*
-HTTPRequest::HTTPRequest(const Serializable& body,
- const string& version):
- HTTPMessage(body, version) {
-#ifdef DEBUG
- cerr << __FILE__ << ": http_version = " << http_version
- << " | body = " << body.serialize() << endl;
-#endif // DEBUG
-}
-
-HTTPRequest::HTTPRequest(const string& uri,
- const HTTPRequest::HTTPMethod& method,
- string& query, string& version):
- HTTPMessage(body, version) {
-#ifdef DEBUG
- cerr << __FILE__ << ": http_version = " << http_version
- << " | body = " << body.serialize() << endl;
-#endif // DEBUG
-}
-*/
-
istream& operator>>(istream& is, HTTPRequest& req)
throw(HTTPError, ios::failure) {
#ifdef DEBUG