Mercurial > hg > orthanc
comparison Core/HttpServer/FilesystemHttpHandler.cpp @ 1521:3606278d305e
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Aug 2015 13:37:24 +0200 |
parents | 8bd0d897763f |
children | 3232f1c995a5 |
comparison
equal
deleted
inserted
replaced
1520:4a503a8c7749 | 1521:3606278d305e |
---|---|
102 s += " </ul>"; | 102 s += " </ul>"; |
103 s += " </body>"; | 103 s += " </body>"; |
104 s += "</html>"; | 104 s += "</html>"; |
105 | 105 |
106 output.SetContentType("text/html"); | 106 output.SetContentType("text/html"); |
107 output.SendBody(s); | 107 output.Answer(s); |
108 } | 108 } |
109 | 109 |
110 | 110 |
111 FilesystemHttpHandler::FilesystemHttpHandler(const std::string& baseUri, | 111 FilesystemHttpHandler::FilesystemHttpHandler(const std::string& baseUri, |
112 const std::string& root) : pimpl_(new PImpl) | 112 const std::string& root) : pimpl_(new PImpl) |