diff --git a/HTTPServer.cpp b/HTTPServer.cpp index b7a2989a..27e6f0a1 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -13,6 +13,103 @@ namespace i2p { namespace util { + + const std::string HTTPConnection::itoopieImage = + "\"\""; + namespace misc_strings { diff --git a/HTTPServer.h b/HTTPServer.h index 4968c2f4..df9ca4e7 100644 --- a/HTTPServer.h +++ b/HTTPServer.h @@ -11,12 +11,10 @@ namespace i2p { namespace util { - const std::string itoopieImage = "\"\""; - class HTTPConnection { - protected: + struct header { std::string name; @@ -70,8 +68,13 @@ namespace util reply m_Reply; protected: + virtual void HandleDestinationRequest(const std::string& address, const std::string& uri); virtual void RunRequest (); + + private: + + static const std::string itoopieImage; }; class HTTPServer