openinx commented on code in PR #17727:
URL: https://github.com/apache/iceberg/pull/17727#discussion_r4190043654
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -2172,6 +2196,64 @@ components:
explode: false
example: "vended-credentials,remote-signing"
+ user-agent:
+ name: User-Agent
+ in: header
+ description: >
+ Header for a client to identify itself to the catalog. It follows the
+ standard HTTP `User-Agent` grammar (RFC 7231, Section 5.5.3): a
+ whitespace-separated list of `product/version` tokens, optionally
+ followed by a parenthesized comment.
+
+
+ Clients SHOULD send this header. When it is sent, the Iceberg client
+ library token MUST be present so that a server can always identify the
+ library and its version: use the token for the Iceberg library the
+ client is built on, such as `iceberg-java`, `pyiceberg`,
+ `iceberg-rust`, `iceberg-go`, or `iceberg-cpp`. This list is
+ illustrative, not exhaustive: any other Iceberg library, or a
+ proprietary or custom implementation, uses its own descriptive product
+ token in that position. The remaining tokens SHOULD be ordered from the
+ outermost component to the innermost, so the most specific caller
+ appears first: the engine or application, then any integration or
+ connector, then the Iceberg library.
+
+
+ The optional trailing comment, enclosed in parentheses as defined by
+ the RFC, carries lower-value context such as build identifiers, the
+ HTTP library, the language runtime, or the operating system. These
Review Comment:
could you pls give one example in the below to show the user-agent with
runtime + os specificed at the same time ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]