diff --git a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.cpp b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.cpp index 3f5bfd31d3..a6705be4c0 100644 --- a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.cpp +++ b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.cpp @@ -223,7 +223,7 @@ WebIDL::ExceptionOr> Request::clone() const } // https://fetch.spec.whatwg.org/#concept-request-add-range-header -ErrorOr Request::add_range_reader(u64 first, Optional const& last) +ErrorOr Request::add_range_header(u64 first, Optional const& last) { // To add a range header to a request request, with an integer first, and an optional integer last, run these steps: diff --git a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h index ae99aac9e0..a858ea7c6c 100644 --- a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h +++ b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Requests.h @@ -294,7 +294,7 @@ public: [[nodiscard]] WebIDL::ExceptionOr> clone() const; - [[nodiscard]] ErrorOr add_range_reader(u64 first, Optional const& last); + [[nodiscard]] ErrorOr add_range_header(u64 first, Optional const& last); [[nodiscard]] bool cross_origin_embedder_policy_allows_credentials() const;