JavaScript Functions > Alphabetical Listing of Web Functions > web.cleanupAutoHeaders

web.cleanupAutoHeaders

Stops scripts from adding user–defined headers to subsequent HTTP requests.

Syntax

web.cleanupAutoHeaders( );

Return Values

Not applicable

Parameterization

Parameterization is not applicable to this function.

General Information

The web.cleanupAutoHeaders function is a service function that disables adding user–defined headers to subsequent HTTP requests.

Web scripts automatically send a header with each HTTP request they submit. You can use web.addAutoHeader to add a user–defined header to the standard header of each subsequent HTTP request. web.cleanupAutoHeaders cancels adding the header.

Example

web.cleanupAutoHeaders();