diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-06-13 10:19:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 10:19:24 (GMT) |
commit | b3a2d91805feb81f79ee52c30a077521912b0bf9 (patch) | |
tree | 8b57e9244576eaa1c721df44899009f3b8d10f05 /src/uscxml/util/URL.h | |
parent | 4b861a6af4eec8a58d3515e871ccdadd44a182fd (diff) | |
parent | a43c42980727e0376c6bfa44576a54e6d3c26687 (diff) | |
download | uscxml-b3a2d91805feb81f79ee52c30a077521912b0bf9.zip uscxml-b3a2d91805feb81f79ee52c30a077521912b0bf9.tar.gz uscxml-b3a2d91805feb81f79ee52c30a077521912b0bf9.tar.bz2 |
Merge pull request #146 from tklab-tud/sradomski
respond element and proper http ioproc
Diffstat (limited to 'src/uscxml/util/URL.h')
-rw-r--r-- | src/uscxml/util/URL.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uscxml/util/URL.h b/src/uscxml/util/URL.h index 9ad2f8e..f9e7ed5 100644 --- a/src/uscxml/util/URL.h +++ b/src/uscxml/util/URL.h @@ -149,6 +149,8 @@ public: */ static std::string getTempDir(bool shared = true); + static std::string getMimeType(const std::string extension, std::string magic = ""); + bool isAbsolute() { return _impl->isAbsolute(); } @@ -253,6 +255,7 @@ public: protected: std::shared_ptr<URLImpl> _impl; + static std::map<std::string, std::string> mimeTypes; friend class URLFetcher; static std::string currTmpDir; |