Skip to content

Commit

Permalink
Add missing headers to engines request
Browse files Browse the repository at this point in the history
  • Loading branch information
mback2k authored Feb 11, 2024
1 parent a2a9c98 commit 1af68ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadefender.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _get_version_map(self, node: str) -> None:

try:
self.log.debug(f"_get_version_map: GET {url}")
r = self.session.get(url=url, timeout=self.timeout, verify=self.verify)
r = self.session.get(url=url, headers=self.headers, timeout=self.timeout, verify=self.verify)
engines = r.json()

for engine in engines:
Expand Down

0 comments on commit 1af68ef

Please sign in to comment.