added: setting a correct mime type for static files - using magic library

added: std::wstring file_mime_type to ItemContent - a mime type for static file
added: Header (core/header.h) - there will be header names defined, at the moment only content_type
added: FuncionsBase::Finish() - it is called at the end when the winix finishes
This commit is contained in:
2021-09-22 00:23:25 +02:00
parent 26ed7b80be
commit 9c5c74ba84
29 changed files with 364 additions and 35 deletions

View File

@@ -149,6 +149,7 @@ public:
typedef Table::iterator Iterator;
void Init();
void Finish();
void Parse();
size_t FunctionsSize();
@@ -210,6 +211,7 @@ private:
void CreateFunctions();
void InitFunctions();
void FinishFunctions();
void SetObjects(FunctionBase * fun);
void SetDefaultFunctionForFile();