Example: web_remove_auto_header
The following example stops scripts from adding the Accept–Encoding header to subsequent HTTP requests. It continues to generate implicit headers.
web_add_auto_header("Accept–Encoding", "gzip"); ... web_remove_auto_header("Accept–Encoding", "ImplicitGen=Yes", LAST ); For Java: lrapi.web.remove_auto_header("User–Agent", new String[]{"ImplicitGen=Yes", "LAST"});