drogon/lib
Martin Chang 56cb305ae3
Support custom MIME types and extensions (#1024)
* Drogon now support custom extension and MIME types
* Added contentTypeString() to retrieve the string version of content type (in case the content type is not in the ContentType enum)
* setCustomContentTypeAndString() also accepts MIME as input (instead of the full content-type header string),
* Remove webContentTypeToString()
* Added app().registerCustomExtensionMime()
* Added support to load custom extension from JSON config
2021-09-24 22:51:09 +08:00
..
inc/drogon Support custom MIME types and extensions (#1024) 2021-09-24 22:51:09 +08:00
src Support custom MIME types and extensions (#1024) 2021-09-24 22:51:09 +08:00
tests Support custom MIME types and extensions (#1024) 2021-09-24 22:51:09 +08:00