-
Notifications
You must be signed in to change notification settings - Fork 573
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests(otelhttp): fixes the body replacement in otelhttp to not to mut…
…ate a nil body. (#484) * tests(otelhttp): fixes the body replacement in otelhttp to not to mutate a nil body. This might break tests when they attempt to read the body when the body isn't nil. * docs(otelhttp): adds description for the motivation to not to mutate the body. * chore: simplify the logic on wrapping. * fix(otelhttp): fixes assignation Co-authored-by: Sam Xie <xsambundy@gmail.com> * nit Co-authored-by: Sam Xie <xsambundy@gmail.com> * docs(otelhttp): improves docs. Co-authored-by: Sam Xie <xsambundy@gmail.com>
- Loading branch information
Showing
2 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters