diff --git a/infrastructure/abri/abri_client.py b/infrastructure/abri/abri_client.py index 7c9c018a9..ebcd65f64 100644 --- a/infrastructure/abri/abri_client.py +++ b/infrastructure/abri/abri_client.py @@ -142,7 +142,11 @@ class AbriClient: def _post(self, envelope: bytes) -> bytes: try: - response = self._session.post(self._config.endpoint_url, data=envelope) + response = self._session.post( + self._config.endpoint_url, + data=envelope, + headers={"Content-Type": "application/xml"}, + ) response.raise_for_status() except requests.RequestException as error: raise AbriTransportError(str(error)) from error