mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibWeb/Fetch: Share validation logic in the Headers class
This is an editorial change in the Fetch spec.
See: f435978
This commit is contained in:
parent
3414a6ba20
commit
a06b97dae0
2 changed files with 47 additions and 57 deletions
|
@ -62,6 +62,7 @@ private:
|
|||
|
||||
virtual void visit_edges(JS::Cell::Visitor&) override;
|
||||
|
||||
WebIDL::ExceptionOr<bool> validate(Infrastructure::Header const&) const;
|
||||
void remove_privileged_no_cors_request_headers();
|
||||
|
||||
// https://fetch.spec.whatwg.org/#concept-headers-header-list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue