💧 A server-side Swift HTTP web framework.

What's New

Fix `comparePreference` function when only one media type specified

This patch was authored by @AZm87 and released by @0xTim.

This fixes the comparePreference function which returns wrong results if only one media type is specified in the accept header.

Resolves #2668


Documentation Team Chat MIT License Continuous Integration Swift 5.2 Twitter

Vapor is a web framework for Swift. It provides a beautifully expressive and easy to use foundation for your next website, API, or cloud project.

Take a look at some of the awesome stuff created with Vapor.

💧 Community

Join the welcoming community of fellow Vapor developers on Discord.

🚀 Contributing

To contribute a feature or idea to Vapor, create an issue explaining your idea or bring it up on Discord.

If you find a bug, please create an issue.

If you find a security vulnerability, please contact as soon as possible.

💛 Sponsors

Support Vapor's development by becoming a sponsor.

Monstarlab Skelpo Transeo Gwynne Raskind Joannis Orlandos Kyle Browning Jari omrd

💚 Backers

Support Vapor's development by becoming a backer.



  • Swift Tools 5.2.0
View More Packages from this Author


Last updated: Thu Sep 23 2021 17:34:49 GMT-0500 (GMT-05:00)