Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias FunctionDef arguments args defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return Raise decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Num FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore BoolOpOr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Str Assign NameStore IfExp AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Str Assign NameStore IfExp AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str TupleLoad Str Str Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Str If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Str If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Assign NameStore Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Call NameLoad NameLoad Assign NameStore UnaryOpNot AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If BoolOpAnd NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpDiv AttributeLoad AttributeLoad NameLoad attr attr Num If BoolOpAnd NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Str Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign NameStore BinOpMult ListLoad Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareNotIn NameLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpDiv NameLoad Num If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Num handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Num Return ExceptHandler type AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Return ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Return Raise decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore NameLoad TryFinally body If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Num Return If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Return If UnaryOpNot Call AttributeLoad NameLoad attr body Return TryFinally body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Return Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Num finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr finalbody Assign NameStore BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr NameLoad If NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad AugAssignSub AttributeStore AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Num NameLoad NameLoad Str Str Str Str body Expr Str If Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore BinOpAdd BinOpMult Num AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad NameLoad body Assert CompareLtE NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AugAssignSub AttributeStore NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Str NameLoad With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call NameLoad decorator_list decorator_list
N/A N/A BaseHTTPServer N/A certutils N/A collections N/A errno N/A logging N/A socket N/A SocketServer N/A ssl N/A sys N/A time N/A urlparse N/A daemonserver N/A httparchive N/A platformsettings N/A proxyshaper N/A sslproxy _HandleSSLCertificateError N/A N/A N/A N/A N/A 
  This method is intended to be called from
  BaseHTTPServer.HTTPServer.handle_error().
   N/A N/A exc_type exc_value exc_traceback N/A N/A sys exc_info N/A N/A isinstance exc_value N/A ssl SSLError N/A N/A N/A N/A HttpProxyError N/A Exception N/A N/A Module catch-all error. N/A N/A HttpProxyServerError N/A HttpProxyError N/A N/A Raised for errors like 'Address already in use'. N/A N/A HttpArchiveHandler N/A N/A BaseHTTPServer BaseHTTPRequestHandler N/A N/A protocol_version HTTP/1.1 N/A wbufsize -1 setup N/A N/A self N/A N/A N/A Override StreamRequestHandler method. N/A N/A N/A N/A BaseHTTPServer BaseHTTPRequestHandler setup self N/A N/A N/A self server traffic_shaping_up_bps N/A N/A N/A self rfile N/A N/A proxyshaper RateLimitedFile N/A N/A self server get_active_request_count N/A self rfile N/A N/A self server traffic_shaping_up_bps N/A N/A N/A self server traffic_shaping_down_bps N/A N/A N/A self wfile N/A N/A proxyshaper RateLimitedFile N/A N/A self server get_active_request_count N/A self wfile N/A N/A self server traffic_shaping_down_bps N/A log_request N/A N/A self code size N/A - - N/A N/A N/A log_error N/A N/A self format N/A args N/A N/A N/A N/A logging error format args N/A log_message N/A N/A self format N/A args N/A N/A N/A N/A logging info format args N/A read_request_body N/A N/A self N/A N/A N/A request_body None N/A length N/A N/A int N/A N/A N/A self headers get content-length 0 None N/A length N/A N/A request_body N/A N/A N/A self rfile read length N/A request_body N/A get_header_dict N/A N/A self N/A N/A N/A N/A dict N/A N/A N/A self headers items N/A get_archived_http_request N/A N/A self N/A N/A N/A host N/A N/A N/A self headers get host N/A N/A host None N/A N/A N/A N/A logging error Request without host header N/A None N/A parsed N/A N/A urlparse urlparse N/A self path N/A params N/A N/A parsed params N/A ;%s N/A parsed params N/A query N/A N/A parsed query N/A ?%s N/A parsed query N/A fragment N/A N/A parsed fragment N/A #%s N/A parsed fragment N/A full_path N/A %s%s%s%s N/A N/A parsed path params query fragment N/A StubRequest N/A N/A collections namedtuple StubRequest N/A host full_path N/A N/A request response N/A N/A StubRequest host full_path None N/A N/A N/A N/A self server log_url request response N/A N/A N/A httparchive ArchivedHttpRequest N/A self command host full_path N/A N/A self read_request_body N/A N/A self get_header_dict N/A N/A self server is_ssl N/A send_archived_http_response N/A N/A self response N/A N/A N/A N/A N/A is_chunked N/A N/A response is_chunked N/A has_content_length N/A N/A N/A response get_header content-length None N/A N/A self server_version N/A N/A response get_header server WebPageReplay N/A N/A self sys_version N/A N/A N/A response version 10 N/A N/A N/A self protocol_version HTTP/1.0 N/A N/A N/A is_chunked N/A has_content_length N/A N/A content_length N/A sum N/A N/A len c N/A c N/A response response_data N/A N/A N/A N/A response headers append N/A content-length N/A str content_length N/A is_replay N/A N/A N/A N/A self server http_archive_fetch is_record_mode N/A N/A is_replay N/A N/A self server traffic_shaping_delay_ms N/A N/A N/A N/A logging debug Using round trip delay: %sms N/A N/A self server traffic_shaping_delay_ms N/A N/A N/A time sleep N/A N/A N/A self server traffic_shaping_delay_ms 1000.0 N/A N/A is_replay N/A N/A self server use_delays N/A N/A N/A N/A logging debug Using delays (ms): %s N/A response delays N/A N/A N/A time sleep N/A N/A N/A response delays N/A headers 1000.0 N/A delays N/A N/A response delays N/A data N/A N/A delays N/A N/A 0 N/A len N/A response response_data N/A N/A N/A self send_response N/A response status N/A response reason N/A N/A header value N/A response headers N/A N/A N/A header N/A last-modified expires N/A N/A N/A N/A self send_header header N/A N/A response update_date value N/A N/A N/A header N/A date server N/A N/A N/A N/A self send_header header value N/A N/A N/A self end_headers N/A N/A chunk delay N/A zip N/A response response_data delays N/A N/A delay N/A N/A N/A N/A N/A self wfile flush N/A N/A N/A time sleep N/A delay 1000.0 N/A is_chunked N/A N/A N/A N/A N/A self wfile write N/A %x
%s
 N/A N/A len chunk chunk N/A N/A N/A N/A N/A self wfile write chunk N/A is_chunked N/A N/A N/A N/A N/A self wfile write 0

 N/A N/A N/A N/A self wfile flush N/A N/A N/A response version 10 N/A N/A N/A self close_connection 1 N/A N/A N/A Exception N/A e N/A N/A N/A N/A logging error Error sending response for %s%s: %s N/A N/A self headers N/A host N/A self path e N/A handle_one_request N/A N/A self N/A N/A N/A Handle a single HTTP request.

    This method overrides a method from BaseHTTPRequestHandler. When this
    method returns, it must leave self.close_connection in the correct state.
    If this method raises an exception, the state of self.close_connection
    doesn't matter.
     N/A N/A N/A N/A self raw_requestline N/A N/A N/A self rfile readline 65537 N/A N/A N/A self do_parse_and_handle_one_request N/A N/A N/A N/A socket timeout N/A e N/A N/A N/A N/A self log_error Request timed out: %r e N/A N/A self close_connection 1 N/A N/A N/A N/A ssl SSLError N/A N/A N/A self close_connection 1 N/A N/A N/A N/A socket error N/A e N/A N/A N/A N/A e N/A 0 N/A errno ECONNRESET N/A N/A N/A self close_connection 1 N/A N/A N/A do_parse_and_handle_one_request N/A N/A self N/A N/A N/A start_time N/A N/A time time N/A N/A N/A self server num_active_requests 1 N/A request None N/A N/A N/A N/A N/A len N/A self raw_requestline 65536 N/A N/A N/A self requestline N/A N/A self request_version N/A N/A self command N/A N/A N/A self send_error 414 N/A N/A self close_connection 0 N/A N/A N/A N/A self raw_requestline N/A N/A N/A self close_connection 1 N/A N/A N/A N/A N/A self parse_request N/A N/A N/A N/A N/A response None N/A request N/A N/A self get_archived_http_request N/A N/A request None N/A N/A N/A N/A self send_error 500 N/A N/A response N/A N/A N/A N/A self server custom_handlers handle request N/A N/A response N/A N/A response N/A N/A N/A self server http_archive_fetch request N/A response N/A N/A N/A N/A self send_archived_http_response response N/A N/A N/A N/A self send_error 404 N/A N/A N/A N/A N/A self wfile flush N/A N/A request_time_ms N/A N/A N/A N/A time time start_time 1000.0 N/A N/A N/A self server total_request_time request_time_ms N/A request N/A N/A response N/A N/A N/A N/A logging debug Served: %s (%dms) request request_time_ms N/A N/A N/A N/A logging warning Failed to find response for: %s (%dms) request request_time_ms N/A N/A N/A self server num_active_requests 1 N/A send_error N/A N/A self status body N/A None N/A N/A Override the default send error with a version that doesn't unnecessarily
    close the connection.
     N/A response N/A N/A httparchive create_response status body body N/A N/A N/A self send_archived_http_response response N/A N/A HttpProxyServer N/A N/A SocketServer ThreadingMixIn N/A BaseHTTPServer HTTPServer N/A daemonserver DaemonServer N/A N/A HANDLER HttpArchiveHandler N/A request_queue_size 256 N/A connection_limit 500 N/A allow_reuse_address True N/A daemon_threads True __init__ N/A N/A self http_archive_fetch custom_handlers rules host port use_delays is_ssl protocol down_bandwidth up_bandwidth delay_ms N/A localhost 80 False False HTTP 0 0 0 N/A N/A Start HTTP server.

    Args:
      rules: a rule_parser Rules.
      host: a host string (name or IP) for the web proxy.
      port: a port string (e.g. '80') for the web proxy.
      use_delays: if True, add response data delays during replay.
      is_ssl: True iff proxy is using SSL.
      up_bandwidth: Upload bandwidth
      down_bandwidth: Download bandwidth
           Bandwidths measured in [K|M]{bit/s|Byte/s}. '0' means unlimited.
      delay_ms: Propagation delay in milliseconds. '0' means no delay.
     N/A N/A N/A platformsettings SupportsFdLimitControl N/A N/A N/A soft_limit hard_limit N/A N/A platformsettings GetFdLimit N/A wiggle_room 100 N/A desired_limit N/A N/A 2 N/A HttpProxyServer connection_limit wiggle_room N/A N/A soft_limit desired_limit N/A N/A N/A desired_limit hard_limit N/A The hard limit for number of open files per process is %s which is lower than the desired limit of %s. N/A hard_limit desired_limit N/A N/A N/A platformsettings AdjustFdLimit desired_limit hard_limit N/A N/A N/A N/A N/A N/A BaseHTTPServer HTTPServer __init__ self N/A host port N/A self HANDLER N/A N/A N/A Exception N/A e N/A N/A N/A HttpProxyServerError N/A Could not start HTTPServer on port %d: %s N/A port e N/A N/A self http_archive_fetch http_archive_fetch N/A N/A self custom_handlers custom_handlers N/A N/A self use_delays use_delays N/A N/A self is_ssl is_ssl N/A N/A self traffic_shaping_down_bps N/A N/A proxyshaper GetBitsPerSecond down_bandwidth N/A N/A self traffic_shaping_up_bps N/A N/A proxyshaper GetBitsPerSecond up_bandwidth N/A N/A self traffic_shaping_delay_ms N/A int delay_ms N/A N/A self num_active_requests 0 N/A N/A self num_active_connections 0 N/A N/A self total_request_time 0 N/A N/A self protocol protocol N/A N/A self log_url N/A N/A rules Find log_url N/A N/A N/A logging warning N/A %s server started on %s:%d N/A N/A self protocol N/A N/A self server_address N/A 0 N/A N/A self server_address N/A 1 N/A cleanup N/A N/A self N/A N/A N/A N/A N/A N/A N/A self shutdown N/A N/A N/A self server_close N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A N/A logging info Stopped %s server. Total time processing requests: %dms N/A self protocol N/A self total_request_time N/A get_active_request_count N/A N/A self N/A N/A N/A N/A self num_active_requests N/A get_request N/A N/A self N/A N/A N/A N/A self num_active_connections 1 N/A N/A N/A self num_active_connections N/A HttpProxyServer connection_limit N/A N/A N/A N/A logging error N/A Number of active connections (%s) surpasses the supported limit of %s. N/A N/A self num_active_connections N/A HttpProxyServer connection_limit N/A N/A N/A N/A BaseHTTPServer HTTPServer get_request self N/A close_request N/A N/A self request N/A N/A N/A N/A N/A N/A BaseHTTPServer HTTPServer close_request self request N/A N/A self num_active_connections 1 N/A N/A HttpsProxyServer N/A HttpProxyServer N/A N/A SSL server that generates certs for each host. __init__ N/A N/A self http_archive_fetch custom_handlers rules https_root_ca_cert_path N/A kwargs N/A N/A N/A self ca_cert_path https_root_ca_cert_path N/A N/A self HANDLER N/A N/A sslproxy wrap_handler HttpArchiveHandler N/A N/A N/A HttpProxyServer __init__ self http_archive_fetch custom_handlers rules is_ssl True protocol HTTPS kwargs N/A N/A open N/A self ca_cert_path r cert_file N/A N/A N/A self _ca_cert_str N/A N/A cert_file read N/A N/A self _host_to_cert_map N/A N/A N/A self _server_cert_to_cert_map N/A N/A cleanup N/A N/A self N/A N/A N/A N/A N/A N/A N/A self shutdown N/A N/A N/A self server_close N/A N/A N/A KeyboardInterrupt N/A N/A N/A get_certificate N/A N/A self host N/A N/A N/A N/A host N/A self _host_to_cert_map N/A N/A N/A N/A self _host_to_cert_map N/A host N/A server_cert N/A N/A N/A N/A self http_archive_fetch http_archive get_server_cert host N/A N/A server_cert N/A self _server_cert_to_cert_map N/A N/A cert N/A N/A self _server_cert_to_cert_map N/A server_cert N/A N/A N/A self _host_to_cert_map N/A host cert N/A cert N/A cert N/A N/A certutils generate_cert N/A self _ca_cert_str server_cert host N/A N/A N/A self _server_cert_to_cert_map N/A server_cert cert N/A N/A N/A self _host_to_cert_map N/A host cert N/A cert N/A handle_error N/A N/A self request client_address N/A N/A N/A N/A _HandleSSLCertificateError N/A N/A SingleCertHttpsProxyServer N/A HttpProxyServer N/A N/A SSL server. __init__ N/A N/A self http_archive_fetch custom_handlers rules https_root_ca_cert_path N/A kwargs N/A N/A N/A N/A HttpProxyServer __init__ self http_archive_fetch custom_handlers rules is_ssl True protocol HTTPS kwargs N/A N/A self socket N/A N/A ssl wrap_socket N/A self socket certfile https_root_ca_cert_path server_side True do_handshake_on_connect False N/A handle_error N/A N/A self request client_address N/A N/A N/A N/A _HandleSSLCertificateError N/A N/A HttpToHttpsProxyServer N/A HttpProxyServer N/A N/A Listens for HTTP requests but sends them to the target as HTTPS requests __init__ N/A N/A self http_archive_fetch custom_handlers rules N/A kwargs N/A N/A N/A N/A HttpProxyServer __init__ self http_archive_fetch custom_handlers rules is_ssl True protocol HTTP-to-HTTPS kwargs N/A handle_error N/A N/A self request client_address N/A N/A N/A N/A _HandleSSLCertificateError N/A N/A