Share this page

# Example: web_add_auto_header

In the following example, the web_add_auto_header function informs the server that the replay accepts compressed data:

    web_add_auto_header("Accept-Encoding", "gzip");

In the following example, custom headers are added for an application-specific log on.

    web_add_auto_header("userid", "HTilney");
    web_add_auto_header("pwd", "northanger1803");

The script includes this header information in all subsequent HTTP requests.

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: