What's Changed
Adds TIFF and WebP HTTP Media Types by @qalandarov in #3194
Add additional image types:
app.post("upload") { req in guard [.jpeg, .png, .tiff, .webp].contains(req.content.contentType) else { throw Abort(.unsupportedMediaType) } // ... }
This patch was released by @0xTim
Full Changelog: 4.101.1...4.101.2