mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibWeb: Move http response method in setter
This commit is contained in:
@@ -204,7 +204,7 @@ private:
|
||||
|
||||
public:
|
||||
[[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
|
||||
|
||||
Reference in New Issue
Block a user