Skip to content

Commit

Permalink
Merge pull request #523 from HanCJiang/master
Browse files Browse the repository at this point in the history
Allow the Constructing metadata to skip SSL check.
  • Loading branch information
mraineri authored Nov 7, 2022
2 parents 7aa57dc + a6c8254 commit a579c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redfish_service_validator/traverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def callResourceURI(self, URILink):
startTick = datetime.now()
mockup_file_path = os.path.join(config['mockup'], URLDest.replace('/redfish/v1/', '', 1).strip('/'), 'index.json')
if not inService:
req = requests.get(URLDest, proxies=self.ext_proxies)
req = requests.get(URLDest, proxies=self.ext_proxies, verify=False)
content = req.json if not isXML else req.text
response = rf.rest.v1.StaticRestResponse(Status=req.status_code, Headers={x:req.headers[x] for x in req.headers}, Content=req.text)
elif config['mockup'] != '' and os.path.isfile(mockup_file_path):
Expand Down

0 comments on commit a579c2d

Please sign in to comment.