Quick guide to ignore SSL certs

master
pictuga 2020-09-27 16:48:22 +02:00
parent 039a672f4e
commit bbada0436a
1 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,11 @@ except NameError:
basestring = unicode = str
# uncomment the lines below to ignore SSL certs
#import ssl
#ssl._create_default_https_context = ssl._create_unverified_context
MIMETYPE = {
'xml': ['text/xml', 'application/xml', 'application/rss+xml', 'application/rdf+xml', 'application/atom+xml', 'application/xhtml+xml'],
'rss': ['application/rss+xml', 'application/rdf+xml', 'application/atom+xml'],