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

@@ -97,6 +97,7 @@ item.o: ../../../winix/winixd/core/error.h
item.o: ../../../winix/winixd/core/config.h
item.o: ../../../winix/winixd/core/textstream.h
item.o: ../../../winix/winixd/models/winixmodel.h
item.o: ../../../winix/winixd/core/header.h
item.o: ../../../winix/winixd/templates/templates.h
item.o: ../../../winix/winixd/templates/patterncacher.h
item.o: ../../../winix/winixd/templates/indexpatterns.h
@@ -241,6 +242,7 @@ itemcontent.o: ../../../winix/winixd/models/item.h itemcontent.h
itemcontent.o: ../../../winix/winixd/core/error.h
itemcontent.o: ../../../winix/winixd/core/textstream.h
itemcontent.o: ../../../winix/winixd/models/winixmodel.h
itemcontent.o: ../../../winix/winixd/core/header.h
itemcontent.o: ../../../winix/winixd/core/users.h
itemcontent.o: ../../../winix/winixd/core/groups.h
itemcontent.o: ../../../winix/winixd/models/group.h