master #1

Merged
lino.jorzick merged 203 commits from External/greenlight:master into master 2021-10-02 18:19:43 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 3eaa61a463 - Show all commits

View File

@ -110,6 +110,7 @@ module ApplicationHelper
# Make a GET request and validate content type # Make a GET request and validate content type
http = Net::HTTP.new(url.host, url.port) http = Net::HTTP.new(url.host, url.port)
http.use_ssl = (url.scheme == "https") http.use_ssl = (url.scheme == "https")
http.read_timeout = 10
http.start do |web| http.start do |web|
response = web.head(url.request_uri) response = web.head(url.request_uri)