Share this page

# 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();
    })();

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: