mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:57:34 +00:00
LibWeb: Handle endings member of options being "native"
This patch passes the options argument to process_blob_parts() and makes use of the "convert line endings to native" algorithm when the endings member of options (BlobPropertyBag) is set to "native".
This commit is contained in:
parent
516ea4d758
commit
bbd9490683
3 changed files with 9 additions and 7 deletions
|
@ -27,7 +27,7 @@ struct BlobPropertyBag {
|
|||
};
|
||||
|
||||
[[nodiscard]] ErrorOr<String> convert_line_endings_to_native(String const& string);
|
||||
[[nodiscard]] ErrorOr<ByteBuffer> process_blob_parts(Vector<BlobPart> const& blob_parts);
|
||||
[[nodiscard]] ErrorOr<ByteBuffer> process_blob_parts(Vector<BlobPart> const& blob_parts, Optional<BlobPropertyBag> const& options = {});
|
||||
|
||||
class Blob
|
||||
: public RefCounted<Blob>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue