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

Add default HTTP user agents #849

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbearcsiro
Copy link
Contributor

Adds a default HTTP User Agent via the Java http.agent system property

@sbearcsiro
Copy link
Contributor Author

@joe-lipson here's something I was toying around with for user agents on the exec jar role - it should work for HTTPUrlConnection and Apache HTTP Client (as long as the client is constructed with defaults) based requests but not, afaik, okhttp based ones. Should be easy enough to add this to tomcat and the other non spring boot exec-jar roles

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