mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +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
Notes:
sideshowbarker
2024-07-17 06:02:29 +09:00
Author: https://github.com/AtkinsSJ
Commit: 9b891a423b
Pull-request: https://github.com/SerenityOS/serenity/pull/15533
Reviewed-by: https://github.com/linusg
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