mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibWeb: Support for Access-Control-Expose-Headers in Fetch
This adds the headers named in Access-Control-Expose-Headers to the response's CORS-exposed header-name list which allows those headers to be accessed from JS.
This commit is contained in:
parent
15440b156f
commit
3a1f510af0
Notes:
sideshowbarker
2024-07-16 21:42:29 +09:00
Author: https://github.com/simonmcm1 🔰
Commit: 3a1f510af0
Pull-request: https://github.com/SerenityOS/serenity/pull/20298
Issue: https://github.com/SerenityOS/serenity/issues/18626
Reviewed-by: https://github.com/linusg
3 changed files with 36 additions and 7 deletions
|
@ -61,6 +61,8 @@ public:
|
|||
[[nodiscard]] ErrorOr<ExtractLengthResult> extract_length() const;
|
||||
|
||||
[[nodiscard]] ErrorOr<Optional<MimeSniff::MimeType>> extract_mime_type() const;
|
||||
|
||||
ErrorOr<Vector<ByteBuffer>> unique_names() const;
|
||||
};
|
||||
|
||||
struct RangeHeaderValue {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue