Example: web.add_auto_header

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

web.add_auto_header("Accept-Encoding", "gzip");

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