mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:37:44 +00:00
LibWeb: Implement Fetch::Infrastructure::Response::clone()
This commit is contained in:
parent
b5e8e9b30b
commit
ef5e2eb794
2 changed files with 22 additions and 0 deletions
|
@ -100,6 +100,8 @@ public:
|
|||
[[nodiscard]] Optional<AK::URL const&> url() const;
|
||||
[[nodiscard]] ErrorOr<Optional<AK::URL>> location_url(Optional<String> const& request_fragment) const;
|
||||
|
||||
[[nodiscard]] NonnullOwnPtr<Response> clone() const;
|
||||
|
||||
private:
|
||||
// https://fetch.spec.whatwg.org/#concept-response-type
|
||||
// A response has an associated type which is "basic", "cors", "default", "error", "opaque", or "opaqueredirect". Unless stated otherwise, it is "default".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue