Skip to content

Commit 22c4d71

Browse files
author
Steve Ayers
committed
Feedback
1 parent 51cc77b commit 22c4d71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ func NewClient[Req, Res any](httpClient HTTPClient, url string, options ...Clien
116116
ctx, callInfo := newOutgoingContext(ctx)
117117
callInfo.peer = request.Peer()
118118
callInfo.spec = request.Spec()
119+
callInfo.requestHeader = request.Header()
119120

120121
response, err := unaryFunc(ctx, request)
121122
if err != nil {

0 commit comments

Comments
 (0)