Hello,
I am trying to use FHttpModule to send some http request, however I found there are some request that will set cookies. I dig into the source code, it will handle that in the engine, however I cannot set in ini file. to turn it on/ off. In addiition, there is no direct way to remove all cookie which has been set from previous response.
which is terrbile that I need to reboot editor to reset the environmrnt so that i can void bring cookie on my latter requests.
I also try to use Cookie manager, but it seem to work at all. the request still have cookie infomation.
IWebBrowserSingleton* WebBrowserSingleton = IWebBrowserModule::Get().GetSingleton();
if (WebBrowserSingleton)
{
TSharedPtr<IWebBrowserCookieManager> CookieManager = WebBrowserSingleton->GetCookieManager();
CookieManager->DeleteCookies();
}
Is there any way that I can read/ write or clrear the cookie which write form http requests?
Thank you.