mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
LibHTTP+RequestServer: Recognize more HTTP methods
Previously it would default to GET for all of these and cause the Discord API to return Method Not Allowed errors for certain endpoints.
This commit is contained in:
parent
1ceba560f4
commit
cd9864bbf1
3 changed files with 45 additions and 1 deletions
|
@ -22,7 +22,13 @@ public:
|
|||
Invalid,
|
||||
HEAD,
|
||||
GET,
|
||||
POST
|
||||
POST,
|
||||
DELETE,
|
||||
PATCH,
|
||||
OPTIONS,
|
||||
TRACE,
|
||||
CONNECT,
|
||||
PUT,
|
||||
};
|
||||
|
||||
struct Header {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue