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 a way to provide a custom User-Agent #1429

Merged
merged 2 commits into from
May 29, 2024

Conversation

freak12techno
Copy link
Contributor

Fixes #1425.

Need this to be able to specify a custom User-Agent for Hermes requests.

I am unsure how to test it properly with Hermes though; if someone can give me any hint on how to compile Hermes with this version of tendermint-rpc, I'd appreciate that.

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Added entry in .changelog/

@freak12techno
Copy link
Contributor Author

freak12techno commented May 24, 2024

@romac can you review this or ask someone to do so?
also, if you know how to compile Hermes with this version of tendermint-rpc, this would help testing using custom User-Agent on Hermes itself. disregard that, I figured it out.

Copy link
Member

@romac romac left a comment

Choose a reason for hiding this comment

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

Thanks a lot! 🙏

@romac romac merged commit 2135196 into informalsystems:main May 29, 2024
22 checks passed
@freak12techno freak12techno deleted the add-http-user-agent branch May 29, 2024 08:15
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.

Add the possibility to override User-Agent for queries
2 participants