[FHttpModule] How to set custom verb (SetVerb("PATCH");)?

Hello,

So I’m trying to do a PATCH request via the FHttpModule.
The code I used was this one :

TSharedRef<IHttpRequest> Request = Http->CreateRequest();
/*
* ... (setting headers and url)
*/
Request->SetVerb("PATCH");
/* 
* ... (rest of the code to process the request)
 */

Problem is I got this error (and a fatal crash) :

Unsupported verb ‘PATCH’, can be perhaps added with CURLOPT_CUSTOMREQUEST

So now, I know that only GET PUT and POST can be used.

Is there a way to use custom verbs ?

hey, still got the same problem at 4.22.3
Have you ever found out how to fix it?

there is an open pull request made by someone for this matter. Keep an eye out

https://github.com/EpicGames/UnrealEngine/pull/5477