LibHTTP: Make HTTP method names more accessible

Previously you could only get the name of an HttpRequest::Method if you
already had an HttpRequest.
This commit is contained in:
Sam Atkins 2022-10-11 11:27:52 +01:00 committed by Andreas Kling
commit 9b891a423b
Notes: sideshowbarker 2024-07-17 06:02:29 +09:00
2 changed files with 18 additions and 11 deletions

View file

@ -73,4 +73,6 @@ private:
ByteBuffer m_body;
};
String to_string(HttpRequest::Method);
}