This PR adds the ability to override the user-agent via the headers option. This is useful, for example, when the user-agent is set to some value in a dependency (e.g., here), also allowing users to control the user-agent per request (not just per HttpClient).
This PR adds the ability to override the
user-agent
via theheaders
option. This is useful, for example, when theuser-agent
is set to some value in a dependency (e.g., here), also allowing users to control theuser-agent
per request (not just perHttpClient
).