@@ -8,7 +8,7 @@ class Config
88
99 attr_accessor :logger , :cache , :cache_request_headers , :whitelist , :cache_whitelist , :path_blacklist , :ignore_params , :allow_params ,
1010 :persist_cache , :ignore_cache_port , :non_successful_cache_disabled , :non_successful_error_level ,
11- :non_whitelisted_requests_disabled , :cache_path , :certs_path , :proxy_host , :proxy_port , :proxied_request_inactivity_timeout ,
11+ :non_whitelisted_requests_disabled , :cache_path , :certs_path , :verify_peer , : proxy_host, :proxy_port , :proxied_request_inactivity_timeout ,
1212 :proxied_request_connect_timeout , :dynamic_jsonp , :dynamic_jsonp_keys , :dynamic_jsonp_callback_name , :merge_cached_responses_whitelist ,
1313 :strip_query_params , :proxied_request_host , :proxied_request_port , :cache_request_body_methods , :after_cache_handles_request ,
1414 :cache_simulates_network_delays , :cache_simulates_network_delay_time , :record_requests , :record_stub_requests , :use_ignore_params , :before_handle_request
@@ -37,6 +37,7 @@ def reset
3737 @non_whitelisted_requests_disabled = false
3838 @cache_path = File . join ( Dir . tmpdir , 'puffing-billy' )
3939 @certs_path = File . join ( Dir . tmpdir , 'puffing-billy' , 'certs' )
40+ @verify_peer = false
4041 @proxy_host = 'localhost'
4142 @proxy_port = RANDOM_AVAILABLE_PORT
4243 @proxied_request_inactivity_timeout = 10 # defaults from https://github.com/igrigorik/em-http-request/wiki/Redirects-and-Timeouts
0 commit comments