A set of rules rewriting and blocking URLs. Used to offer a point of
control for redirecting HTTP requests, often to the Android proxy server.
Each rule has the following format:
url-prefix [REWRITE new-prefix] [BLOCK]
Any URL which starts with url-prefix will trigger the rule.
If BLOCK is specified, requests to that URL will be blocked and fail.
If REWRITE is specified, the matching prefix will be removed and replaced
with new-prefix. (If both are specified, BLOCK wins.) Case is
insensitive for the REWRITE and BLOCK keywords, but sensitive for URLs.
In Gservices, the value of any key that starts with "url:" will be
interpreted as a rule. The full name of the key is unimportant (but can
be used to document the intent of the rule, and must be unique).
Example gservices keys:
url:use_proxy_for_calendar = "http://www.google.com/calendar/ REWRITE http://android.clients.google.com/proxy/calendar/"
url:stop_crash_reports = "http://android.clients.google.com/crash/ BLOCK"
url:use_ssl_for_contacts = "http://www.google.com/m8/ REWRITE https://www.google.com/m8/"
|