Search before asking
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?
Search before asking
Motivation
PyPaimon REST requests currently use the default
python-requestsUser-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:PyPaimon/<version> Python/<version>PythonPVFS PyPaimon/<version> Python/<version>Explicitly configured User-Agent values are preserved. Version lookup failures
fall back to
unknownwithout affecting requests.Anything else?
No response
Are you willing to submit a PR?