Share this page

# web_cleanup_auto_headers

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

## C Language

    int web_cleanup_auto_headers( );

Example: web_cleanup_auto_headers | Header Functions

## Java Language

    int object.cleanup_auto_headers( );

Example: web.cleanup_auto_headers | Alphabetical Listing of Web Functions - Java | Java Syntax

Argument | Description
--- | ---
object | An expression evaluating to an object of type WebApi. Usually web for Java. See also Function and Constant Prefixes.

## Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.

## Parameterization

Parameterization is not applicable to this function.

## General Information

The web_cleanup_auto_headers 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_add_auto_header to add a user–defined header to the standard header of each subsequent HTTP request. web_cleanup_auto_headers cancels adding the header.

This function is supported for all web scripts.

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