mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-23 09:48:45 +00:00
This reverts my previous commit in WebServer and fixes the whole issue in a much better way. Instead of having the MIME type guesser take a URL (which we don't actually have in the WebServer at that point), just take a path as a StringView. Also, make use of the case-insensitive StringView::ends_with() :^)
5.5 KiB
5.5 KiB