boxo
boxo copied to clipboard
pinning/http: Add version to User-Agent
Include version / git revision to user-agent header.
Right now it sends:
User-Agent: go-pinning-service-http-client
Having the version there would greatly improve our ability to debug and triage issues.
:+1: IMO this should also be set by the parent application so you would get:
User-Agent: go-pinning-service-http-client/kubo v0.20.0