]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/httprequest.cpp
- Se sobreescribe el método Connection::finish() para que cierre el socket.
[z.facultad/75.42/plaqui.git] / Server / src / httprequest.cpp
index f1119fd8d5a0b5b22dba540016bbccc471586800..f9fa56c47e654825b6855270b2b6b99bb5b94870 100644 (file)
@@ -54,27 +54,6 @@ HTTPRequest::HTTPRequest(const string& uri, const HTTPMethod& method,
 #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