Share this page

# Utils.removeAutoHeader

Removes an HTTP header added with Utils.addAutoHeader, and stops adding the HTTP header to every consecutive HTTP request following the function call.

    Utils.removeAutoHeader(header);

## Arguments

header. (string) The name of the header to stop from being added.

## Return value

A promise that will be fulfilled with no arguments.

## Example

Copy code

    Utils.removeAutoHeader("someCustomHeader");

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: