如何使用nginx更改http头

我们有一个问题,后端系统需要Content-Type http头的参数是按照一定的顺序。

例如(注意type =“text / xml”的位置):

Content-Type: multipart/related; boundary="-=Part.0.57208b0e-3948-44e6-b15a-9bbfa5f0074b=-"; type="text/xml"; start="<0>"; start-info="text/xml" 

应该是(注意type =“text / xml”的位置):

 Content-Type: multipart/related; type="text/xml"; boundary="-=Part.0.57208b0e-3948-44e6-b15a-9bbfa5f0074b=-"; start="<0>"; start-info="text/xml" 

我已经find了模块HttpHeadersMoreModule。 我面临的挑战是我需要改变string的顺序,但保留值。 任何build议如何用nginix解决这个问题?

问候,nidkil