mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
LibWeb/Fetch: Update spec comment to decode bytes to string
This is a change in the Fetch spec.
See: a04d096
This commit is contained in:
parent
1c9bb2d8b4
commit
a156722744
Notes:
sideshowbarker
2024-07-18 03:23:00 +09:00
Author: https://github.com/linusg
Commit: a156722744
Pull-request: https://github.com/SerenityOS/serenity/pull/16362
Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ bool is_cors_safelisted_request_header(Header const& header)
|
|||
if (any_of(value.span(), is_cors_unsafe_request_header_byte))
|
||||
return false;
|
||||
|
||||
// 2. Let mimeType be the result of parsing value.
|
||||
// 2. Let mimeType be the result of parsing the result of isomorphic decoding value.
|
||||
auto mime_type = MimeSniff::MimeType::from_string(StringView { value });
|
||||
|
||||
// 3. If mimeType is failure, then return false.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue