Skip to content

Commit 248e5ef

Browse files
committed
Rebuild to generate latest content types
1 parent 9ce90b1 commit 248e5ef

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

libraries/http_server/http_server/content_types.hh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
251251
{"fzs", "application/vnd.fuzzysheet"},
252252
{"txd", "application/vnd.genomatix.tuxedo"},
253253
{"ggb", "application/vnd.geogebra.file"},
254+
{"ggs", "application/vnd.geogebra.slides"},
254255
{"ggt", "application/vnd.geogebra.tool"},
255256
{"gex", "application/vnd.geometry-explorer"},
256257
{"gre", "application/vnd.geometry-explorer"},
@@ -555,6 +556,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
555556
{"zirz", "application/vnd.zul"},
556557
{"zaz", "application/vnd.zzazz.deck+xml"},
557558
{"vxml", "application/voicexml+xml"},
559+
{"wasm", "application/wasm"},
558560
{"wgt", "application/widget"},
559561
{"hlp", "application/winhlp"},
560562
{"wsdl", "application/wsdl+xml"},
@@ -783,6 +785,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
783785
{"ttf", "font/ttf"},
784786
{"woff", "font/woff"},
785787
{"woff2", "font/woff2"},
788+
{"avif", "image/avif"},
786789
{"bmp", "image/bmp"},
787790
{"cgm", "image/cgm"},
788791
{"g3", "image/g3fax"},
@@ -791,6 +794,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
791794
{"jpeg", "image/jpeg"},
792795
{"jpg", "image/jpeg"},
793796
{"jpe", "image/jpeg"},
797+
{"jxl", "image/jxl"},
794798
{"ktx", "image/ktx"},
795799
{"png", "image/png"},
796800
{"btif", "image/prs.btif"},
@@ -853,7 +857,6 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
853857
{"dwf", "model/vnd.dwf"},
854858
{"gdl", "model/vnd.gdl"},
855859
{"gtw", "model/vnd.gtw"},
856-
{"mts", "model/vnd.mts"},
857860
{"vtu", "model/vnd.vtu"},
858861
{"wrl", "model/vrml"},
859862
{"vrml", "model/vrml"},
@@ -942,6 +945,10 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
942945
{"jpgm", "video/jpm"},
943946
{"mj2", "video/mj2"},
944947
{"mjp2", "video/mj2"},
948+
{"ts", "video/mp2t"},
949+
{"m2t", "video/mp2t"},
950+
{"m2ts", "video/mp2t"},
951+
{"mts", "video/mp2t"},
945952
{"mp4", "video/mp4"},
946953
{"mp4v", "video/mp4"},
947954
{"mpg4", "video/mp4"},

single_headers/lithium.hh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8270,6 +8270,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
82708270
{"fzs", "application/vnd.fuzzysheet"},
82718271
{"txd", "application/vnd.genomatix.tuxedo"},
82728272
{"ggb", "application/vnd.geogebra.file"},
8273+
{"ggs", "application/vnd.geogebra.slides"},
82738274
{"ggt", "application/vnd.geogebra.tool"},
82748275
{"gex", "application/vnd.geometry-explorer"},
82758276
{"gre", "application/vnd.geometry-explorer"},
@@ -8574,6 +8575,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
85748575
{"zirz", "application/vnd.zul"},
85758576
{"zaz", "application/vnd.zzazz.deck+xml"},
85768577
{"vxml", "application/voicexml+xml"},
8578+
{"wasm", "application/wasm"},
85778579
{"wgt", "application/widget"},
85788580
{"hlp", "application/winhlp"},
85798581
{"wsdl", "application/wsdl+xml"},
@@ -8802,6 +8804,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
88028804
{"ttf", "font/ttf"},
88038805
{"woff", "font/woff"},
88048806
{"woff2", "font/woff2"},
8807+
{"avif", "image/avif"},
88058808
{"bmp", "image/bmp"},
88068809
{"cgm", "image/cgm"},
88078810
{"g3", "image/g3fax"},
@@ -8810,6 +8813,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
88108813
{"jpeg", "image/jpeg"},
88118814
{"jpg", "image/jpeg"},
88128815
{"jpe", "image/jpeg"},
8816+
{"jxl", "image/jxl"},
88138817
{"ktx", "image/ktx"},
88148818
{"png", "image/png"},
88158819
{"btif", "image/prs.btif"},
@@ -8872,7 +8876,6 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
88728876
{"dwf", "model/vnd.dwf"},
88738877
{"gdl", "model/vnd.gdl"},
88748878
{"gtw", "model/vnd.gtw"},
8875-
{"mts", "model/vnd.mts"},
88768879
{"vtu", "model/vnd.vtu"},
88778880
{"wrl", "model/vrml"},
88788881
{"vrml", "model/vrml"},
@@ -8961,6 +8964,10 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
89618964
{"jpgm", "video/jpm"},
89628965
{"mj2", "video/mj2"},
89638966
{"mjp2", "video/mj2"},
8967+
{"ts", "video/mp2t"},
8968+
{"m2t", "video/mp2t"},
8969+
{"m2ts", "video/mp2t"},
8970+
{"mts", "video/mp2t"},
89648971
{"mp4", "video/mp4"},
89658972
{"mp4v", "video/mp4"},
89668973
{"mpg4", "video/mp4"},

single_headers/lithium_http_server.hh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5090,6 +5090,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
50905090
{"fzs", "application/vnd.fuzzysheet"},
50915091
{"txd", "application/vnd.genomatix.tuxedo"},
50925092
{"ggb", "application/vnd.geogebra.file"},
5093+
{"ggs", "application/vnd.geogebra.slides"},
50935094
{"ggt", "application/vnd.geogebra.tool"},
50945095
{"gex", "application/vnd.geometry-explorer"},
50955096
{"gre", "application/vnd.geometry-explorer"},
@@ -5394,6 +5395,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
53945395
{"zirz", "application/vnd.zul"},
53955396
{"zaz", "application/vnd.zzazz.deck+xml"},
53965397
{"vxml", "application/voicexml+xml"},
5398+
{"wasm", "application/wasm"},
53975399
{"wgt", "application/widget"},
53985400
{"hlp", "application/winhlp"},
53995401
{"wsdl", "application/wsdl+xml"},
@@ -5622,6 +5624,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
56225624
{"ttf", "font/ttf"},
56235625
{"woff", "font/woff"},
56245626
{"woff2", "font/woff2"},
5627+
{"avif", "image/avif"},
56255628
{"bmp", "image/bmp"},
56265629
{"cgm", "image/cgm"},
56275630
{"g3", "image/g3fax"},
@@ -5630,6 +5633,7 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
56305633
{"jpeg", "image/jpeg"},
56315634
{"jpg", "image/jpeg"},
56325635
{"jpe", "image/jpeg"},
5636+
{"jxl", "image/jxl"},
56335637
{"ktx", "image/ktx"},
56345638
{"png", "image/png"},
56355639
{"btif", "image/prs.btif"},
@@ -5692,7 +5696,6 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
56925696
{"dwf", "model/vnd.dwf"},
56935697
{"gdl", "model/vnd.gdl"},
56945698
{"gtw", "model/vnd.gtw"},
5695-
{"mts", "model/vnd.mts"},
56965699
{"vtu", "model/vnd.vtu"},
56975700
{"wrl", "model/vrml"},
56985701
{"vrml", "model/vrml"},
@@ -5781,6 +5784,10 @@ static std::unordered_map<std::string_view, std::string_view> content_types = {
57815784
{"jpgm", "video/jpm"},
57825785
{"mj2", "video/mj2"},
57835786
{"mjp2", "video/mj2"},
5787+
{"ts", "video/mp2t"},
5788+
{"m2t", "video/mp2t"},
5789+
{"m2ts", "video/mp2t"},
5790+
{"mts", "video/mp2t"},
57845791
{"mp4", "video/mp4"},
57855792
{"mp4v", "video/mp4"},
57865793
{"mpg4", "video/mp4"},

0 commit comments

Comments
 (0)