1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

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
parent 84953c5020
commit 9b891a423b
2 changed files with 18 additions and 11 deletions

View file

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