Skip to content

Set user-agent for client requests#72

Merged
murrayju merged 2 commits intomainfrom
murrayju/user-agent
Oct 20, 2025
Merged

Set user-agent for client requests#72
murrayju merged 2 commits intomainfrom
murrayju/user-agent

Conversation

@murrayju
Copy link
Member

If we configure the client to set the User-Agent header in its requests, we'll be better able to monitor usage through analytics added at the api level.

@murrayju murrayju force-pushed the murrayju/user-agent branch from c21627b to 86b5528 Compare October 17, 2025 19:33
@murrayju murrayju marked this pull request as ready for review October 17, 2025 19:35
@murrayju murrayju force-pushed the murrayju/user-agent branch from e54a2b6 to ec2ea3a Compare October 17, 2025 19:57
Copy link
Contributor

@cevian cevian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ok but we'll eventually deprecate all the graphql stuff? Do we do something similar for REST

@murrayju murrayju changed the title Set user-agent for gql requests Set user-agent for client requests Oct 20, 2025
@murrayju
Copy link
Member Author

This is ok but we'll eventually deprecate all the graphql stuff? Do we do something similar for REST

Sorry, the title was misleading. This applies to both the GQL and REST clients.

@murrayju murrayju merged commit a334bab into main Oct 20, 2025
2 checks passed
@murrayju murrayju deleted the murrayju/user-agent branch October 20, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants