mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb/Fetch: Bring parse_single_range_header_value()
up to spec
The previous implementation wasn't using the latest specification steps.
This commit is contained in:
parent
488034477a
commit
bf5cf720b5
Notes:
github-actions[bot]
2024-11-21 00:59:20 +00:00
Author: https://github.com/rmg-x
Commit: bf5cf720b5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2434
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 45 additions and 20 deletions
|
@ -93,7 +93,7 @@ struct ExtractHeaderParseFailure {
|
|||
[[nodiscard]] bool is_request_body_header_name(ReadonlyBytes);
|
||||
[[nodiscard]] Optional<Vector<ByteBuffer>> extract_header_values(Header const&);
|
||||
[[nodiscard]] Variant<Vector<ByteBuffer>, ExtractHeaderParseFailure, Empty> extract_header_list_values(ReadonlyBytes, HeaderList const&);
|
||||
[[nodiscard]] Optional<RangeHeaderValue> parse_single_range_header_value(ReadonlyBytes);
|
||||
[[nodiscard]] Optional<RangeHeaderValue> parse_single_range_header_value(ReadonlyBytes, bool);
|
||||
[[nodiscard]] ByteBuffer default_user_agent_value();
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue