mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
2b47cf56ce
Instead use Cef.GetMimeType to use the Chromium MimeType Mappings Rather than maintain our own mapping (which is out of date) we'll defer to Chromium. Make ResourceHandler.FromString(string, string) and ResourceHandler.GetMimeType obsolete, they will be removed at some point ResourceHandler.FromString uses ResourceHandler.GetMimeType internally, Replacing with ResourceHandler.FromString(resource, mimeType: Cef.GetMimeType(extension)); uses a different overload. Issue #3041