Rework the server to remove rest_xxx classes.

This commit is contained in:
Chunting Gu
2019-06-21 13:53:00 +08:00
parent 43aadee885
commit 4140b4f94c
24 changed files with 311 additions and 318 deletions
+1 -2
View File
@@ -131,8 +131,7 @@ const char* const kTextPlain = "text/plain";
const char* const kTextXml = "text/xml";
// Get media type from file extension.
std::string FromExtension(const std::string& extension,
bool default_to_plain_text = true);
std::string FromExtension(const std::string& ext);
} // namespace media_types