mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibWeb/Fetch: Propagate OOM errors from HeaderList::extract_mime_type()
This commit is contained in:
parent
2d7ce38ee2
commit
ad4b4046f4
Notes:
sideshowbarker
2024-07-17 06:38:11 +09:00
Author: https://github.com/linusg
Commit: ad4b4046f4
Pull-request: https://github.com/SerenityOS/serenity/pull/17698
Reviewed-by: https://github.com/kennethmyhra ✅
14 changed files with 36 additions and 36 deletions
|
@ -38,7 +38,7 @@ public:
|
|||
virtual ~Response() override;
|
||||
|
||||
// ^BodyMixin
|
||||
virtual Optional<MimeSniff::MimeType> mime_type_impl() const override;
|
||||
virtual ErrorOr<Optional<MimeSniff::MimeType>> mime_type_impl() const override;
|
||||
virtual Optional<Infrastructure::Body&> body_impl() override;
|
||||
virtual Optional<Infrastructure::Body const&> body_impl() const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue