From d2938865f2421e160adc18e86dd7813278035c70 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 24 Dec 2013 07:45:34 +0100 Subject: Adding proper mime/type support. --- includes/Http.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes/Http.h') 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 StringMap; typedef std::map > FileList; -- cgit v1.2.3