Skip to content
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

自定义首字母为小写的Header属性头,经过网关会转成标准头属性格式(首字母大写) #165

Closed
finn-woo opened this issue Aug 23, 2019 · 2 comments

Comments

@finn-woo
Copy link

图片

如图,请求网关header头属性中有首字母为小写的自定义属性,经过网关proxy后转发到server端的请求中,header头中的属性名称首字母都按照标准化命名方式转化成了大写。
如下图:

图片

@zhangxu19830126
Copy link
Member

proxy启动的时候,加上--disable-header-normalizing参数

@zhangxu19830126
Copy link
Member

同时建议如果可以修改的话,请遵循http1.1的header名称的标准

zhangxu19830126 added a commit that referenced this issue Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants