mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Move http response method in setter
This commit is contained in:
parent
134dc57458
commit
a557632716
Notes:
github-actions[bot]
2024-12-04 16:34:44 +00:00
Author: https://github.com/shlyakpavel
Commit: a557632716
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2678
Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue