We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89f0f22 + edcddfa commit ae6fe2aCopy full SHA for ae6fe2a
docs/jsonschema_role.py
@@ -8,6 +8,7 @@
8
except ImportError:
9
import urllib.request as urllib
10
11
+import certifi
12
from lxml import html
13
14
@@ -62,7 +63,7 @@ def fetch_or_load(spec_path):
62
63
raise
64
65
request = urllib.Request(VALIDATION_SPEC, headers=headers)
- response = urllib.urlopen(request)
66
+ response = urllib.urlopen(request, cafile=certifi.where())
67
68
if response.code == 200:
69
with open(spec_path, "w+b") as spec:
docs/requirements.txt
@@ -1,3 +1,4 @@
1
+certifi
2
lxml
3
sphinx==1.6.7
4
sphinxcontrib-spelling
0 commit comments