spring integration inbound gateway http request headers

放肆的年华 提交于 2019-12-01 10:29:18

Good. I see now.

First of all: please, raise, an improvement JIRA issue (https://jira.spring.io/browse/INT): Content-Disposition is really a standard HTTP header and have to map it by default.

Right now you can overcome it with injected DefaultHttpHeaderMapper instead of those mapped-request-headers and mapped-response-headers. In addition you have to configure setUserDefinedHeaderPrefix as null.

It is X- by default, so we should change it to populate Content-Disposition.

Thank you for pointing it out!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!