mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-28 09:47:14 +02:00
48 lines
390 B
C
48 lines
390 B
C
![]() |
#ifndef __MIMETABLE_H__
|
||
|
#define __MIMETABLE_H__
|
||
|
|
||
|
|
||
|
namespace mime
|
||
|
{
|
||
|
|
||
|
enum type
|
||
|
{
|
||
|
html,
|
||
|
htm,
|
||
|
css,
|
||
|
txt,
|
||
|
js,
|
||
|
json,
|
||
|
png,
|
||
|
gif,
|
||
|
jpg,
|
||
|
ico,
|
||
|
svg,
|
||
|
ttf,
|
||
|
otf,
|
||
|
woff,
|
||
|
woff2,
|
||
|
eot,
|
||
|
sfnt,
|
||
|
xml,
|
||
|
pdf,
|
||
|
zip,
|
||
|
gz,
|
||
|
appcache,
|
||
|
none,
|
||
|
maxType
|
||
|
};
|
||
|
|
||
|
struct Entry
|
||
|
{
|
||
|
const char endsWith[16];
|
||
|
const char mimeType[32];
|
||
|
};
|
||
|
|
||
|
|
||
|
extern const Entry mimeTable[maxType];
|
||
|
}
|
||
|
|
||
|
|
||
|
#endif
|