LibWeb: Move http response method in setter

This commit is contained in:
Pavel Shliak 2024-12-01 16:27:00 +04:00 committed by Sam Atkins
commit a557632716
Notes: github-actions[bot] 2024-12-04 16:34:44 +00:00

View file

@ -204,7 +204,7 @@ private:
public: public:
[[nodiscard]] ByteBuffer const& method() const { return m_method; } [[nodiscard]] ByteBuffer const& method() const { return m_method; }
void set_method(ByteBuffer method) { m_method = method; } void set_method(ByteBuffer method) { m_method = move(method); }
}; };
// https://fetch.spec.whatwg.org/#concept-filtered-response // https://fetch.spec.whatwg.org/#concept-filtered-response