diff --git a/src/bloqade/submission/quera_api_client/api.py b/src/bloqade/submission/quera_api_client/api.py index 825f4aacc..df9b15363 100644 --- a/src/bloqade/submission/quera_api_client/api.py +++ b/src/bloqade/submission/quera_api_client/api.py @@ -64,6 +64,9 @@ def _result_as_json(result: requests.Response) -> Dict: def _generate_headers(self, base: Optional[dict] = None) -> Dict: if base is None: header = {"Content-Type": "application/json"} + else: + header = dict(base) + header["Content-Type"] = "application/json" if self.hostname is not None: header["Host"] = self.hostname