Share this page

# web.revertAutoHeader

Stops scripts from adding a specific header to subsequent HTTP requests.

Header Functions

## Syntax

    web.revertAutoHeader( header);

Property Name | Description
--- | ---
header | The name of the user–defined header. Examples: Content–Type, If–Modified–Since, referer, and User–Agent

## Return Values

Not applicable

## Parameterization

Parameterization is not applicable to this function.

## General Information

The web.revertAutoHeader function is a service function that stops adding a specific user–defined header to subsequent HTTP requests. This function cancels the automatic header generation for the specified header, initiated by web.addAutoHeader. It continues to generate Implicit Headers, as if no web.addAutoHeader or web.removeAutoHeader function was ever issued.

The web.revertAutoHeader is equivalent to the web.removeAutoHeader function with the `ImplicitGen` option set to Yes.

## Example

    web.revertAutoHeader("User-Agent");

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: