mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Move MIME type detection to util/HTTP.cpp
This commit is contained in:
@@ -92,6 +92,11 @@ private:
|
||||
*/
|
||||
std::string preprocessContent(const std::string& content, const std::string& path);
|
||||
|
||||
/**
|
||||
* @return the MIME type based on the extension of the given filename
|
||||
*/
|
||||
std::string getMimeType(const std::string& filename);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user