proxy.http.server.pac_plugin module#

proxy.py#

⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.

copyright
  1. 2013-present by Abhinav Singh and contributors.

license

BSD, see LICENSE for more details.

class proxy.http.server.pac_plugin.HttpWebServerPacFilePlugin(*args: Any, **kwargs: Any)[source]#

Bases: proxy.http.server.plugin.HttpWebServerBasePlugin

_abc_impl = <_abc._abc_data object>#
cache_pac_file_response() None[source]#
handle_request(request: proxy.http.parser.parser.HttpParser) None[source]#

Handle the request and serve response.

pac_file_response: Optional[memoryview]#
routes() List[Tuple[int, str]][source]#

Return List(protocol, path) that this plugin handles.