Adaptation of the HttpServer by user yueee_yt. This version has improved handling of the HTTP headers (**NOTE**: There are limitations with this implementation and it is not fully functional. Use it only as a starting point.)
Dependents: DMSupport DMSupport DMSupport DMSupport
Fork of DM_HttpServer by
Diff: Handler/FSHandler.cpp
- Revision:
- 10:c1c8276af541
- Parent:
- 7:ee7af5de4b95
diff -r 10b4d4075fbb -r c1c8276af541 Handler/FSHandler.cpp --- a/Handler/FSHandler.cpp Mon Jan 26 10:10:46 2015 +0100 +++ b/Handler/FSHandler.cpp Wed Oct 23 06:58:32 2019 +0000 @@ -27,7 +27,7 @@ #define DEFAULT_PAGE "/index.htm" //*FSHandler::FSHandler(const char* rootPath, const char* path, TCPSocket* pTCPSocket) : HTTPRequestHandler(rootPath, path, pTCPSocket), m_err404(false) -FSHandler::FSHandler(const char* rootPath, const char* path, TCPSocketConnection* pTCPSocketConnection) : HTTPRequestHandler(rootPath, path, pTCPSocketConnection), m_err404(false) +FSHandler::FSHandler(const char* rootPath, const char* path, TCPSocket* pTCPSocketConnection) : HTTPRequestHandler(rootPath, path, pTCPSocketConnection), m_err404(false) {} FSHandler::~FSHandler()