Skip to content

Commit 5aee709

Browse files
authored
Merge pull request #444 from bojand/set_metadata_accept_encoding
fix: user metadata set to set grpc-accept-encoding to fix #441
2 parents e2a3e15 + ce5446b commit 5aee709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (w *Worker) makeRequest(tv TickValue) error {
9797
}
9898

9999
if w.config.enableCompression {
100-
reqMD.Append("grpc-accept-encoding", gzip.Name)
100+
reqMD.Set("grpc-accept-encoding", gzip.Name)
101101
}
102102

103103
ctx := context.Background()

0 commit comments

Comments
 (0)