dfleury2 / beauty

A Simple C++ Http server/client above Boost.Beast
MIT License
188 stars 23 forks source link

PATCH HTTP method is not supported by server #37

Open kormanowsky opened 1 week ago

kormanowsky commented 1 week ago

Please add support for PATCH http method

Romain-P commented 1 week ago

According to https://github.com/dfleury2/beauty/issues/24 You could do something like...

            beauty::client client;
            beauty::request request;
            request.method(beast::http::verb::patch);

            client.send_request(request, ...);
kormanowsky commented 1 week ago

According to #24 You could do something like...

            beauty::client client;
            beauty::request request;
            request.method(beast::http::verb::patch);

            client.send_request(request, ...);

That is true for the client. But the server does not support it. I didn’t mention this, though. Updated the issue 🤝

dfleury2 commented 2 days ago

Hi, can you try this : https://github.com/dfleury2/beauty/tree/feature/add_patch_support I have added PATCH support in the server in this branch Regards,

kormanowsky commented 2 days ago

Hi, this is working for me, thanks