diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dda36fe..9e4fe98a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - fix: wrong msg in iotac post device ([#214](https://github.com/RWTH-EBC/FiLiP/pull/214)) - add support to update entities with keyValues @djs0109 ([#245](https://github.com/RWTH-EBC/FiLiP/pull/245)) - add function to override the existing entity ([#232 ](https://github.com/RWTH-EBC/FiLiP/pull/232 )) +- fix: include headers in some requests ([#250](https://github.com/RWTH-EBC/FiLiP/issues/250)) #### v0.3.0 - fix: bug in typePattern validation @richardmarston ([#180](https://github.com/RWTH-EBC/FiLiP/pull/180)) diff --git a/filip/clients/ngsi_v2/quantumleap.py b/filip/clients/ngsi_v2/quantumleap.py index 0e5f60ba..35546966 100644 --- a/filip/clients/ngsi_v2/quantumleap.py +++ b/filip/clients/ngsi_v2/quantumleap.py @@ -65,7 +65,7 @@ def get_version(self) -> Dict: """ url = urljoin(self.base_url, '/version') try: - res = self.get(url=url) + res = self.get(url=url, headers=self.headers) if res.ok: return res.json() res.raise_for_status() @@ -88,7 +88,7 @@ def get_health(self) -> Dict: """ url = urljoin(self.base_url, '/health') try: - res = self.get(url=url) + res = self.get(url=url, headers=self.headers) if res.ok: return res.json() res.raise_for_status()