Adds a new a header re-write rule. All requests whose URL matches the
specified rule will have its HTTP headers re-written with the
specified header definition before sending it to the server.
@param rule A string with optional wildcards (*, ?) that
matches the URL(s) that will have its headers
re-written with the specified header definition.
@param name The name of the header definition (specified in
awe_webview_set_header_definition).
@note The case where a URL is matched by multiple rules is
unsupported, only the first match will be used.
Adds a new a header re-write rule. All requests whose URL matches the specified rule will have its HTTP headers re-written with the specified header definition before sending it to the server.
@param rule A string with optional wildcards (*, ?) that matches the URL(s) that will have its headers re-written with the specified header definition.
@param name The name of the header definition (specified in awe_webview_set_header_definition).
@note The case where a URL is matched by multiple rules is unsupported, only the first match will be used.