diff --git a/pyiceberg/catalog/rest/__init__.py b/pyiceberg/catalog/rest/__init__.py index c43a64f3cc..afbaa7db07 100644 --- a/pyiceberg/catalog/rest/__init__.py +++ b/pyiceberg/catalog/rest/__init__.py @@ -80,8 +80,6 @@ if TYPE_CHECKING: import pyarrow as pa -ICEBERG_REST_SPEC_VERSION = "0.14.1" - class Endpoints: get_config: str = "config" @@ -485,7 +483,6 @@ def _config_headers(self, session: Session) -> None: header_properties = get_header_properties(self.properties) session.headers.update(header_properties) session.headers["Content-type"] = "application/json" - session.headers["X-Client-Version"] = ICEBERG_REST_SPEC_VERSION session.headers["User-Agent"] = f"PyIceberg/{__version__}" session.headers.setdefault("X-Iceberg-Access-Delegation", ACCESS_DELEGATION_DEFAULT) diff --git a/tests/catalog/test_rest.py b/tests/catalog/test_rest.py index dcabd0a2ea..ef3645c751 100644 --- a/tests/catalog/test_rest.py +++ b/tests/catalog/test_rest.py @@ -58,7 +58,6 @@ TEST_HEADERS = { "Content-type": "application/json", - "X-Client-Version": "0.14.1", "User-Agent": f"PyIceberg/{pyiceberg.__version__}", "Authorization": f"Bearer {TEST_TOKEN}", "X-Iceberg-Access-Delegation": "vended-credentials",