-
Notifications
You must be signed in to change notification settings - Fork 29
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 node/version to the user agent header. #299
Conversation
I wish for no-v ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I think we should keep the string to whatever process.version is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
userAgent.indexOf("addition") === -1 | ||
}, | ||
{ | ||
dataset: "test-transmission2", | ||
addition: "user-agent addition", | ||
probe: userAgent => | ||
userAgent.indexOf("libhoney") === 0 && | ||
userAgent.indexOf("addition") !== -1 | ||
// user-agent order: libhoney, addition, node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which problem is this PR solving?
Short description of the changes