You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "zhoulii (via GitHub)" <gi...@apache.org> on 2026/07/10 07:56:14 UTC
[I] [Feature] Add sdk version information to REST User-Agent [paimon]
zhoulii opened a new issue, #8543:
URL: https://github.com/apache/paimon/issues/8543
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.
### Motivation
PyPaimon REST requests currently use the default `python-requests` User-Agent,
which does not identify the PyPaimon or Python version and makes troubleshooting
client compatibility and upgrades difficult.
### Solution
Use `header.User-Agent`, consistent with Java, and provide these defaults:
- REST: `PyPaimon/<version> Python/<version>`
- PVFS: `PythonPVFS PyPaimon/<version> Python/<version>`
Explicitly configured User-Agent values are preserved. Version lookup failures
fall back to `unknown` without affecting requests.
### Anything else?
_No response_
### Are you willing to submit a PR?
- [x] I'm willing to submit a PR!
--
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: issues-unsubscribe@paimon.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org