Skip to content

Commit

Permalink
Merge branch 'main' into http2-channel
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Nov 18, 2024
2 parents 85237ab + f7d265d commit 15bb8ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Hummingbird/HTTP/MediaType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ extension MediaType {
public static var applicationTar: Self { .init(type: .application, subType: "x-tar") }
/// Microsoft Visio
public static var applicationVsd: Self { .init(type: .application, subType: "vnd.visio") }
/// WebAssembly
public static var applicationWasm: Self { .init(type: .application, subType: "wasm") }
/// XHTML
public static var applicationXhtml: Self { .init(type: .application, subType: "xhtml+xml") }
/// Microsoft Excel
Expand Down Expand Up @@ -445,6 +447,7 @@ extension MediaType {
"ttf": .fontTtf,
"txt": .textPlain,
"vsd": .applicationVsd,
"wasm": .applicationWasm,
"wav": .audioWave,
"weba": .audioWebm,
"webm": .videoWebm,
Expand Down

0 comments on commit 15bb8ae

Please sign in to comment.