apache / apache/dubbo-go

如何在client过滤器中获取http header

Open
#2,158 6 comments 0 reactions 1 assignee Claimed by @binbin0325 View on GitHub
good first issue
Dominant language
Go
Stars
5k
Forks
1k
Avg merge
2d 8h
Merged PRs (30d)
31

Description

客户端是gin加dubbo-go ,现在想把http请求的header传到生产者那边,为了不要每个请求都写传入上下文代码,就放到了filter中,filter中去设置上下文,但是filter中不知道怎么去获取header参数,我断点看到了传递的body参数,但是没看到header

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.