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

feat: add USER_AGENT constant and include it in API request headers #559

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

bengeois
Copy link
Member

@bengeois bengeois commented Nov 5, 2024

What

This pull request introduces the USER_AGENT constant and integrates it all API client classes to standardize the user agent used in HTTP requests.

Note that there may be a change in the future to request a mandatory user-agent with this issue #310

@bengeois bengeois requested a review from VaiTon November 5, 2024 19:51
@bengeois bengeois self-assigned this Nov 5, 2024
@VaiTon
Copy link
Member

VaiTon commented Nov 5, 2024

@bengeois just a thought, can we add the package.json version somehow?

@bengeois
Copy link
Member Author

bengeois commented Nov 5, 2024

@VaiTon I was hesitating, it can be a good thing to add it as well, yes. I've made an update with a proposal to include it

Copy link

sonarcloud bot commented Nov 6, 2024

@VaiTon VaiTon merged commit 6052c45 into develop Nov 6, 2024
13 checks passed
@VaiTon VaiTon deleted the ft/user-agent branch November 6, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants