Skip to content

all: set User-Agent in external HTTP requests

Warren Gifford requested to merge ts/sourcegraph-user-agent into main

Created by: tsenart

This commit makes us set a User-Agent in external HTTP requests (both in gitserver git commands and any requests done through the httpcli.ExternalClientFactory).

Since src.fedoraproject.org is all open and doesn't require an access token, they asked us to set a User-Agent to distinguish our traffic.

Part of #28028 (closed)

Merge request reports

Loading