/**
* Constructor.
*/
- HTTPResponse(const Serializable& body,
- const std::string& version = "1.1");
+ //HTTPResponse(const std::string& body,
+ // const std::string& version = "1.1");
/**
* Constructor.
*/
- HTTPResponse(unsigned status_code, const std::string& reason,
- const std::string& version = "1.1");
+ //HTTPResponse(unsigned status_code, const std::string& reason,
+ // const std::string& version = "1.1");
/**
* Constructor.
*/
- HTTPResponse(unsigned status_code, const std::string& reason,
- const std::string& body,
- const std::string& version = "1.1");
+ //HTTPResponse(unsigned status_code, const std::string& reason,
+ // const std::string& body,
+ // const std::string& version = "1.1");
/**
* Obtiene los datos de la respuesta HTTP desde un texto.
*/
friend std::istream& operator>>(std::istream& is,
- const HTTPResponse& resp);
+ HTTPResponse& resp);
/**
* Convierte la respuesta HTTP en texto.