mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
19 lines
450 B
C
19 lines
450 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2022-2023, Linus Groh <linusg@serenityos.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <AK/Optional.h>
|
||
|
|
#include <LibWeb/Forward.h>
|
||
|
|
#include <LibWeb/MimeSniff/MimeType.h>
|
||
|
|
|
||
|
|
namespace Web::Fetch::Infrastructure {
|
||
|
|
|
||
|
|
Optional<MimeSniff::MimeType> extract_mime_type(HeaderList const&);
|
||
|
|
StringView legacy_extract_an_encoding(Optional<MimeSniff::MimeType> const& mime_type, StringView fallback_encoding);
|
||
|
|
|
||
|
|
}
|