mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Move http response method in setter
This commit is contained in:
parent
134dc57458
commit
a557632716
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user