Mercurial > hg > orthanc
comparison Core/HttpServer/FilesystemHttpSender.h @ 3161:5cf29046c159
removed misleading warning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Jan 2019 16:16:56 +0100 |
parents | 4e43e67f8ecf |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3160:fc9a4a2dad63 | 3161:5cf29046c159 |
---|---|
59 explicit FilesystemHttpSender(const boost::filesystem::path& path) | 59 explicit FilesystemHttpSender(const boost::filesystem::path& path) |
60 { | 60 { |
61 Initialize(path); | 61 Initialize(path); |
62 } | 62 } |
63 | 63 |
64 FilesystemHttpSender(const std::string& path, | |
65 MimeType contentType) | |
66 { | |
67 SetContentType(contentType); | |
68 Initialize(path); | |
69 } | |
70 | |
64 FilesystemHttpSender(const FilesystemStorage& storage, | 71 FilesystemHttpSender(const FilesystemStorage& storage, |
65 const std::string& uuid) | 72 const std::string& uuid) |
66 { | 73 { |
67 Initialize(storage.GetPath(uuid)); | 74 Initialize(storage.GetPath(uuid)); |
68 } | 75 } |