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 is fulfilled with undefined upon success.

Example

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