mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +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
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