Skip to content
Snippets Groups Projects

Support extra_files in RQ tasks

Merged ml bonhomme requested to merge rq-task-extra-files into master
+ 0
13
from urllib.parse import urlparse
def should_verify_cert(url):
"""
Skip SSL certification validation when hitting a development instance
"""
# Special case when no url is provided
if url is None:
return True
host = urlparse(url).netloc
return not host.endswith("ark.localhost")
Loading