comparison Core/HttpServer/FilesystemHttpHandler.h @ 3414:b9cba6a91780

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Jun 2019 19:44:10 +0200
parents 962e5f00744b
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3413:f09bfdea3fc3 3414:b9cba6a91780
51 51
52 public: 52 public:
53 FilesystemHttpHandler(const std::string& baseUri, 53 FilesystemHttpHandler(const std::string& baseUri,
54 const std::string& root); 54 const std::string& root);
55 55
56 virtual IStream* CreateStreamHandler(RequestOrigin origin, 56 virtual bool CreateChunkedRequestReader(std::auto_ptr<IChunkedRequestReader>& target,
57 const char* remoteIp, 57 RequestOrigin origin,
58 const char* username, 58 const char* remoteIp,
59 HttpMethod method, 59 const char* username,
60 const UriComponents& uri, 60 HttpMethod method,
61 const Arguments& headers) 61 const UriComponents& uri,
62 const Arguments& headers)
62 { 63 {
63 return NULL; 64 return false;
64 } 65 }
65 66
66 virtual bool Handle( 67 virtual bool Handle(
67 HttpOutput& output, 68 HttpOutput& output,
68 RequestOrigin origin, 69 RequestOrigin origin,