Method: Mechanize::HTTP::Agent#verify_callback
- Defined in:
- lib/mechanize/http/agent.rb
#verify_callback ⇒ Object
A callback for additional certificate verification. See OpenSSL::SSL::SSLContext#verify_callback
The callback can be used for debugging or to ignore errors by always returning true
. Specifying nil uses the default method that was valid when the SSLContext was created
1220 1221 1222 |
# File 'lib/mechanize/http/agent.rb', line 1220 def verify_callback @http.verify_callback end |