From ccac3d3fffa687434d88720cdd9bb2746f6311d2 Mon Sep 17 00:00:00 2001
From: Brooks Davis
A proxy auto-config (PAC) file contains a JavaScript function + "FindProxyForURL(url, host)" that determines which HTTP or SOCKS + proxy, if any, to use to access a given URL. In most application the + file may be specified manually or discovered using the Web Proxy + Autodiscovery Protocol. Support for PAC files in libfetch would make + fetch more versitle.
+ +Supporting PAC files nominally requires a fairly complete JavaScript + implementation. There appear to be no BSD Licensed JavaScript + implementations so one will likely need to be written. A minimalist + implementation of the language with commonly used constructs such as + if/else, string comparison, and functions would be sufficient in many + cases.
+ +References:
+ + +Requirements:
+