Is your feature request related to a problem? Please describe
Hi OpenSearch Team,
I’m looking at PR #19798 where X-Request-Id is currently validated as hex-only and exactly 32 chars.
- Many gateways / load balancers emit request IDs that are not hex-only.
- Operators often want to pass through an existing correlation ID end-to-end without rewriting.
Before I start implementing anything, I’d like to ask if you would be OK with me opening a PR that removes the hex-only restriction and makes only the length configurable, while keeping the current behavior as the default.
Describe the solution you'd like
-
Introduce a setting like http.request_id.max_length (default: 32).
-
Validation would enforce:
- header is present / non-empty (as today)
- length is
<= max_length (default keeps 32)
-
The hex character check would be removed, so operators can propagate common request-id formats (UUID/ULID/base64url-like tokens, vendor-specific IDs) unchanged.
Related component
Search
Describe alternatives you've considered
No response
Additional context
No response
Is your feature request related to a problem? Please describe
Hi OpenSearch Team,
I’m looking at PR #19798 where
X-Request-Idis currently validated as hex-only and exactly 32 chars.Before I start implementing anything, I’d like to ask if you would be OK with me opening a PR that removes the hex-only restriction and makes only the length configurable, while keeping the current behavior as the default.
Describe the solution you'd like
Introduce a setting like
http.request_id.max_length(default: 32).Validation would enforce:
<= max_length(default keeps 32)The hex character check would be removed, so operators can propagate common request-id formats (UUID/ULID/base64url-like tokens, vendor-specific IDs) unchanged.
Related component
Search
Describe alternatives you've considered
No response
Additional context
No response