Utils.cleanupAutoHeaders

Removes all HTTP headers, and stops adding HTTP headers to every consecutive HTTP request that follows this function call.

Utils.cleanupAutoHeaders();

Arguments

None

Return value

A promise that will be fulfilled with no arguments.

Example

Copy code
(async ()=>{
    await Utils.cleanupAutoHeaders();
})();