summaryrefslogtreecommitdiff
path: root/includes/Http.h
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-24 07:45:34 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-24 07:45:34 +0100
commitd2938865f2421e160adc18e86dd7813278035c70 (patch)
tree94c1ce6850269acbb54ffb488a2172c3ac763028 /includes/Http.h
parentdf8dd99434e5918a7506d888877d070356111d43 (diff)
Adding proper mime/type support.
Diffstat (limited to 'includes/Http.h')
-rw-r--r--includes/Http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Http.h b/includes/Http.h
index fae2ad9..00db23a 100644
--- a/includes/Http.h
+++ b/includes/Http.h
@@ -16,6 +16,8 @@ namespace Http {
const char * getStatusMsg(int httpStatus);
+const char * getContentType(const String & extension);
+
typedef std::map<String, String> StringMap;
typedef std::map<String, IO<Handle> > FileList;