livepeer/go-livepeer

Livepeer should identify itself in `user-agent` HTTP header

Aperta

#836 aperta il 22 apr 2019

 (1 commento) (0 reazioni) (1 assegnatario)Go (223 fork)auto 404
good first issuestatus: iceboxtype: feature

Metriche repository

Star
 (583 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Describe the bug Currently, outgoing HTTP requests (at least from the webhook) have a generic go library as its header. I'm getting:

'user-agent': 'Go-http-client/1.1',

For a variety of reasons, we should identify ourselves — we already have the version baked into the binary, so we should just be livepeer/${version}.

Guida contributor