mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 15:55:54 +01:00
Added MediaTypes TMVCMediaType.IMAGE_X_ICON
This commit is contained in:
parent
447ee2df81
commit
2273c88b00
@ -74,6 +74,7 @@ type
|
|||||||
TEXT_CSV = 'text/csv';
|
TEXT_CSV = 'text/csv';
|
||||||
IMAGE_JPEG = 'image/jpeg';
|
IMAGE_JPEG = 'image/jpeg';
|
||||||
IMAGE_X_PNG = 'image/x-png';
|
IMAGE_X_PNG = 'image/x-png';
|
||||||
|
IMAGE_X_ICON = 'image/x-icon';
|
||||||
IMAGE_PNG = 'image/png';
|
IMAGE_PNG = 'image/png';
|
||||||
APPLICATION_PDF = 'application/pdf';
|
APPLICATION_PDF = 'application/pdf';
|
||||||
APPLICATION_X_PDF = 'application/x-pdf';
|
APPLICATION_X_PDF = 'application/x-pdf';
|
||||||
|
@ -1964,6 +1964,7 @@ begin
|
|||||||
FMediaTypes.Add('.jpg', TMVCMediaType.IMAGE_JPEG);
|
FMediaTypes.Add('.jpg', TMVCMediaType.IMAGE_JPEG);
|
||||||
FMediaTypes.Add('.jpeg', TMVCMediaType.IMAGE_JPEG);
|
FMediaTypes.Add('.jpeg', TMVCMediaType.IMAGE_JPEG);
|
||||||
FMediaTypes.Add('.png', TMVCMediaType.IMAGE_PNG);
|
FMediaTypes.Add('.png', TMVCMediaType.IMAGE_PNG);
|
||||||
|
FMediaTypes.Add('.ico', TMVCMediaType.IMAGE_X_ICON);
|
||||||
FMediaTypes.Add('.appcache', TMVCMediaType.TEXT_CACHEMANIFEST);
|
FMediaTypes.Add('.appcache', TMVCMediaType.TEXT_CACHEMANIFEST);
|
||||||
|
|
||||||
Log.Info('EXIT: Config default values', LOGGERPRO_TAG);
|
Log.Info('EXIT: Config default values', LOGGERPRO_TAG);
|
||||||
|
Loading…
Reference in New Issue
Block a user