Skip to content

Add Server header to Polaris API responses to indicate Polaris version #2785

@fivetran-arunsuri

Description

@fivetran-arunsuri

Description:

Currently, Polaris API responses do not include a Server header. For example, when performing a POST /api/catalog request, the response headers include only:

Content-Type: application/json;charset=UTF-8
content-encoding: gzip
content-length: 187

Image

There is no header identifying the Polaris server or its version.

Enhancement Proposal:
Add a standard Server header in all HTTP responses from Polaris services.
For example:

Server: Polaris/1.1.0

Rationale:

  • Provides better observability and diagnostics during development and debugging.
  • Allows users and clients to easily verify the server version they’re communicating with, especially across multi-environment or multi-region deployments.
  • Simplifies support and compatibility checks when interacting with different Polaris API versions.
  • Aligns with common REST API practices — many Apache and commercial services include Server or custom headers (e.g., X-Server-Version) for version traceability.

Optional Consideration:
If exposing the server version publicly is a concern for security reasons, a custom header like:

X-Polaris-Version: 1.1.0, could be used instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions