Skip to content

Commit

Permalink
Merge pull request #33 from TKCERT/master
Browse files Browse the repository at this point in the history
Add missing headers to engines request
  • Loading branch information
cccs-kevin authored Feb 12, 2024
2 parents a2a9c98 + 1af68ef commit fce37ce
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

1 comment on commit fce37ce

@mback2k
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cccs-kevin Thanks for merging. Would you mind triggering a new Docker image build/release?

Please sign in to comment.