diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-24 07:45:34 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-24 07:45:34 +0100 |
commit | d2938865f2421e160adc18e86dd7813278035c70 (patch) | |
tree | 94c1ce6850269acbb54ffb488a2172c3ac763028 /includes | |
parent | df8dd99434e5918a7506d888877d070356111d43 (diff) |
Adding proper mime/type support.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Http.h | 2 |
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; |