httpswift / swifter

Tiny http server engine written in Swift programming language.
BSD 3-Clause "New" or "Revised" License
3.9k stars 539 forks source link

Enhancement request: Swifter to label .wasm files as "application/wasm" when it serves them #531

Open SugarRayLua opened 1 year ago

SugarRayLua commented 1 year ago

Dear Swifter Developers,

I am a novice javascript user who uses the Swifter tiny http server engine in the iOS app "World Wide Web Sever". It would helpful in the future if Swifter labeled .wasm files as MIME type "application/wasm" when it serves them to help browsers do .wasm instantiate streaming.

Thank you for the considering this enhancement. :-)