We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to add an option ssl_verify_mode to Dragonfly.app.configure in order to use it here https://github.com/markevans/dragonfly/blob/master/lib/dragonfly/job/fetch_url.rb#L67-L80?
ssl_verify_mode
Dragonfly.app.configure
def get(url) url = parse_url(url) http = Net::HTTP.new(url.host, url.port) http.use_ssl = true if url.scheme == 'https' + http.verify_mode = app.ssl_verify_mode unless app.ssl_verify_mode.nil? request = Net::HTTP::Get.new(url.request_uri) if url.user || url.password request.basic_auth(url.user, url.password) end http.request(request) end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is it possible to add an option
ssl_verify_mode
toDragonfly.app.configure
in order to use it here https://github.com/markevans/dragonfly/blob/master/lib/dragonfly/job/fetch_url.rb#L67-L80?def get(url) url = parse_url(url) http = Net::HTTP.new(url.host, url.port) http.use_ssl = true if url.scheme == 'https' + http.verify_mode = app.ssl_verify_mode unless app.ssl_verify_mode.nil? request = Net::HTTP::Get.new(url.request_uri) if url.user || url.password request.basic_auth(url.user, url.password) end http.request(request) end
The text was updated successfully, but these errors were encountered: