diff options
Diffstat (limited to 'src/uscxml/URL.h')
-rw-r--r-- | src/uscxml/URL.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/uscxml/URL.h b/src/uscxml/URL.h index c00d24a..26b9437 100644 --- a/src/uscxml/URL.h +++ b/src/uscxml/URL.h @@ -246,7 +246,9 @@ public: } static std::string tmpDir(); - + static std::map<std::string, std::string> mimeTypes; + static std::string getMimeType(const std::string extension, std::string magic = ""); + friend class URLFetcher; friend std::ostream & operator<<(std::ostream &stream, const URL& p); |