-
Notifications
You must be signed in to change notification settings - Fork 867
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
AHC: fill user agent #3930
AHC: fill user agent #3930
Conversation
instrumentation/async-http-client/async-http-client-2.0/javaagent/build.gradle.kts
Outdated
Show resolved
Hide resolved
@Override | ||
String userAgent() { | ||
return "AHC" | ||
} |
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.
no test changes for request/response content length?
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.
Completely forgot about these. Added verification for response content length. Didn't add verification for request content length because our tests don't have requests with body so this header is never set.
…ent/build.gradle.kts Co-authored-by: Trask Stalnaker <[email protected]>
Resolves #2347
Adds filling userAgent, requestContentLength and responseContentLength.