Share this page

# UtilsA.cleanupAutoHeaders

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

    UtilsA.cleanupAutoHeaders();

## Arguments

None

## Return value

A promise that will be fulfilled with no arguments.

## Example

Copy code

    UtilsA.cleanupAutoHeaders().then(function(){
      TCA.done();
    }).catch(function (error) {
      TCA.doneWithError(error);
    });

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