packethost / packet-python

A Python client for the Equinix Metal API
http://metal.equinix.com/
GNU Lesser General Public License v3.0
40 stars 50 forks source link

User-Agent should be configurable in clients and transmitted on requests #104

Closed displague closed 3 years ago

displague commented 3 years ago

Like the ConsumerToken, the UserAgent should be configurable in clients and submitted on each request.

https://tools.ietf.org/html/rfc7231#section-5.5.3

Quantifying usage will allow for appropriate prioritization of Python based solutions, such as Ansible. User-agent client properties would be introduced here: https://github.com/ansible-collections/community.general/blob/main/plugins/modules/cloud/packet/packet_device.py#L639