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:
parent
84953c5020
commit
9b891a423b
2 changed files with 18 additions and 11 deletions
|
@ -73,4 +73,6 @@ private:
|
|||
ByteBuffer m_body;
|
||||
};
|
||||
|
||||
String to_string(HttpRequest::Method);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue