Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Agent not being set when using the RestOptions class. 110.2.0 #2175

Open
garry-edmonds opened this issue Mar 20, 2024 · 0 comments
Open
Labels

Comments

@garry-edmonds
Copy link

In version 106, setting the UserAgent with the RestClientOptions passes the UserAgent to the API. But without changing any code and updating to the latest version 110.2.0 it is not sending the entered user agent, instead sending the RestClient and version instead.

Putting the UserAgent back into a header and the user agent is then passed into the requested called API.

What is the correct way to set user agent in version 107+ as documentation does not help, due to different examples depending on what page you read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant