Crow
1.1
A C++ microframework for the web
mime_types.h
1
// This file is generated from nginx/conf/mime.types using nginx_mime2cpp.py on 2021-12-03.
2
#include <unordered_map>
3
#include <string>
4
5
namespace
crow
6
{
7
const
std::unordered_map<std::string, std::string> mime_types{
8
{
"gz"
,
"application/gzip"
},
9
{
"shtml"
,
"text/html"
},
10
{
"htm"
,
"text/html"
},
11
{
"html"
,
"text/html"
},
12
{
"css"
,
"text/css"
},
13
{
"xml"
,
"text/xml"
},
14
{
"gif"
,
"image/gif"
},
15
{
"jpg"
,
"image/jpeg"
},
16
{
"jpeg"
,
"image/jpeg"
},
17
{
"js"
,
"application/javascript"
},
18
{
"atom"
,
"application/atom+xml"
},
19
{
"rss"
,
"application/rss+xml"
},
20
{
"mml"
,
"text/mathml"
},
21
{
"txt"
,
"text/plain"
},
22
{
"jad"
,
"text/vnd.sun.j2me.app-descriptor"
},
23
{
"wml"
,
"text/vnd.wap.wml"
},
24
{
"htc"
,
"text/x-component"
},
25
{
"avif"
,
"image/avif"
},
26
{
"png"
,
"image/png"
},
27
{
"svgz"
,
"image/svg+xml"
},
28
{
"svg"
,
"image/svg+xml"
},
29
{
"tiff"
,
"image/tiff"
},
30
{
"tif"
,
"image/tiff"
},
31
{
"wbmp"
,
"image/vnd.wap.wbmp"
},
32
{
"webp"
,
"image/webp"
},
33
{
"ico"
,
"image/x-icon"
},
34
{
"jng"
,
"image/x-jng"
},
35
{
"bmp"
,
"image/x-ms-bmp"
},
36
{
"woff"
,
"font/woff"
},
37
{
"woff2"
,
"font/woff2"
},
38
{
"ear"
,
"application/java-archive"
},
39
{
"war"
,
"application/java-archive"
},
40
{
"jar"
,
"application/java-archive"
},
41
{
"json"
,
"application/json"
},
42
{
"hqx"
,
"application/mac-binhex40"
},
43
{
"doc"
,
"application/msword"
},
44
{
"pdf"
,
"application/pdf"
},
45
{
"ai"
,
"application/postscript"
},
46
{
"eps"
,
"application/postscript"
},
47
{
"ps"
,
"application/postscript"
},
48
{
"rtf"
,
"application/rtf"
},
49
{
"m3u8"
,
"application/vnd.apple.mpegurl"
},
50
{
"kml"
,
"application/vnd.google-earth.kml+xml"
},
51
{
"kmz"
,
"application/vnd.google-earth.kmz"
},
52
{
"xls"
,
"application/vnd.ms-excel"
},
53
{
"eot"
,
"application/vnd.ms-fontobject"
},
54
{
"ppt"
,
"application/vnd.ms-powerpoint"
},
55
{
"odg"
,
"application/vnd.oasis.opendocument.graphics"
},
56
{
"odp"
,
"application/vnd.oasis.opendocument.presentation"
},
57
{
"ods"
,
"application/vnd.oasis.opendocument.spreadsheet"
},
58
{
"odt"
,
"application/vnd.oasis.opendocument.text"
},
59
{
"pptx"
,
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
},
60
{
"xlsx"
,
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
},
61
{
"docx"
,
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
},
62
{
"wmlc"
,
"application/vnd.wap.wmlc"
},
63
{
"wasm"
,
"application/wasm"
},
64
{
"7z"
,
"application/x-7z-compressed"
},
65
{
"cco"
,
"application/x-cocoa"
},
66
{
"jardiff"
,
"application/x-java-archive-diff"
},
67
{
"jnlp"
,
"application/x-java-jnlp-file"
},
68
{
"run"
,
"application/x-makeself"
},
69
{
"pm"
,
"application/x-perl"
},
70
{
"pl"
,
"application/x-perl"
},
71
{
"pdb"
,
"application/x-pilot"
},
72
{
"prc"
,
"application/x-pilot"
},
73
{
"rar"
,
"application/x-rar-compressed"
},
74
{
"rpm"
,
"application/x-redhat-package-manager"
},
75
{
"sea"
,
"application/x-sea"
},
76
{
"swf"
,
"application/x-shockwave-flash"
},
77
{
"sit"
,
"application/x-stuffit"
},
78
{
"tk"
,
"application/x-tcl"
},
79
{
"tcl"
,
"application/x-tcl"
},
80
{
"crt"
,
"application/x-x509-ca-cert"
},
81
{
"pem"
,
"application/x-x509-ca-cert"
},
82
{
"der"
,
"application/x-x509-ca-cert"
},
83
{
"xpi"
,
"application/x-xpinstall"
},
84
{
"xhtml"
,
"application/xhtml+xml"
},
85
{
"xspf"
,
"application/xspf+xml"
},
86
{
"zip"
,
"application/zip"
},
87
{
"dll"
,
"application/octet-stream"
},
88
{
"exe"
,
"application/octet-stream"
},
89
{
"bin"
,
"application/octet-stream"
},
90
{
"deb"
,
"application/octet-stream"
},
91
{
"dmg"
,
"application/octet-stream"
},
92
{
"img"
,
"application/octet-stream"
},
93
{
"iso"
,
"application/octet-stream"
},
94
{
"msm"
,
"application/octet-stream"
},
95
{
"msp"
,
"application/octet-stream"
},
96
{
"msi"
,
"application/octet-stream"
},
97
{
"kar"
,
"audio/midi"
},
98
{
"midi"
,
"audio/midi"
},
99
{
"mid"
,
"audio/midi"
},
100
{
"mp3"
,
"audio/mpeg"
},
101
{
"ogg"
,
"audio/ogg"
},
102
{
"m4a"
,
"audio/x-m4a"
},
103
{
"ra"
,
"audio/x-realaudio"
},
104
{
"3gp"
,
"video/3gpp"
},
105
{
"3gpp"
,
"video/3gpp"
},
106
{
"ts"
,
"video/mp2t"
},
107
{
"mp4"
,
"video/mp4"
},
108
{
"mpg"
,
"video/mpeg"
},
109
{
"mpeg"
,
"video/mpeg"
},
110
{
"mov"
,
"video/quicktime"
},
111
{
"webm"
,
"video/webm"
},
112
{
"flv"
,
"video/x-flv"
},
113
{
"m4v"
,
"video/x-m4v"
},
114
{
"mng"
,
"video/x-mng"
},
115
{
"asf"
,
"video/x-ms-asf"
},
116
{
"asx"
,
"video/x-ms-asf"
},
117
{
"wmv"
,
"video/x-ms-wmv"
},
118
{
"avi"
,
"video/x-msvideo"
}};
119
}
crow
The main namespace of the library. In this namespace is defined the most important classes and functi...
include
crow
mime_types.h
Generated on Mon Dec 2 2024 for Crow by
1.9.1. Dark theme by
Tilen Majerle
. Edited by
Farook Al-Sammarraie
. All rights reserved.