mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-28 10:36:51 +00:00
This modifies the Resource class to use Optional<String> for the encoding. If the encoding is unknown, the Optional will not have a value (instead of using the null state of the String class). It also implements a has_encoding() instance method and modifies the callers of Resource::encoding() to use the new API.
4.4 KiB
4.4 KiB