<i id='dhvmL'><tr id='dhvmL'><dt id='dhvmL'><q id='dhvmL'><span id='dhvmL'><b id='dhvmL'><form id='dhvmL'><ins id='dhvmL'></ins><ul id='dhvmL'></ul><sub id='dhvmL'></sub></form><legend id='dhvmL'></legend><bdo id='dhvmL'><pre id='dhvmL'><center id='dhvmL'></center></pre></bdo></b><th id='dhvmL'></th></span></q></dt></tr></i><div id='dhvmL'><tfoot id='dhvmL'></tfoot><dl id='dhvmL'><fieldset id='dhvmL'></fieldset></dl></div>
    <legend id='dhvmL'><style id='dhvmL'><dir id='dhvmL'><q id='dhvmL'></q></dir></style></legend>

    1. <tfoot id='dhvmL'></tfoot>
    2. <small id='dhvmL'></small><noframes id='dhvmL'>

      • <bdo id='dhvmL'></bdo><ul id='dhvmL'></ul>

      WSO2 api 管理器不传播多部分表单数据的内容类型标头

      WSO2 api manager not propagating content type header for multipart form data(WSO2 api 管理器不传播多部分表单数据的内容类型标头)
    3. <small id='WiZyP'></small><noframes id='WiZyP'>

        <tfoot id='WiZyP'></tfoot>

        • <i id='WiZyP'><tr id='WiZyP'><dt id='WiZyP'><q id='WiZyP'><span id='WiZyP'><b id='WiZyP'><form id='WiZyP'><ins id='WiZyP'></ins><ul id='WiZyP'></ul><sub id='WiZyP'></sub></form><legend id='WiZyP'></legend><bdo id='WiZyP'><pre id='WiZyP'><center id='WiZyP'></center></pre></bdo></b><th id='WiZyP'></th></span></q></dt></tr></i><div id='WiZyP'><tfoot id='WiZyP'></tfoot><dl id='WiZyP'><fieldset id='WiZyP'></fieldset></dl></div>

          <legend id='WiZyP'><style id='WiZyP'><dir id='WiZyP'><q id='WiZyP'></q></dir></style></legend>
                <tbody id='WiZyP'></tbody>

              • <bdo id='WiZyP'></bdo><ul id='WiZyP'></ul>
                本文介绍了WSO2 api 管理器不传播多部分表单数据的内容类型标头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在使用 WSO2 api manager 1.10.0.我在使用 multipart/form-data 时遇到问题,实际上我注意到 content type 标头没有传播到我的后端服务,因此我收到了不受支持的媒体类型 415 HTTP 错误.请知道如何解决这个问题?

                I'm using WSO2 api manager 1.10.0. I have a problem when using multipart/form-data , in fact i noticed that content type header isn't propagated to my back end service and so I'm getting unsupported media type 415 HTTP error. Please any idea how to fix this?

                推荐答案

                将以下属性添加到 repository/conf/passthru-http.properties 文件中.http.headers.preserve=内容类型

                Add the following property to repository/conf/passthru-http.properties file. http.headers.preserve=Content-Type

                这将保留您随请求发送的内容类型标头并将其发送到后端.如果你想保留更多这样的标题,你可以将它们添加到同一行,用逗号分隔.

                This will preserve the content type header you send with the request and send it to the backend. If you want to preserve more such headers, you can add them to the same line with comma separated.

                这篇关于WSO2 api 管理器不传播多部分表单数据的内容类型标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                  <tbody id='aWvt8'></tbody>

                <tfoot id='aWvt8'></tfoot>

                  <bdo id='aWvt8'></bdo><ul id='aWvt8'></ul>
                    <legend id='aWvt8'><style id='aWvt8'><dir id='aWvt8'><q id='aWvt8'></q></dir></style></legend>

                    1. <i id='aWvt8'><tr id='aWvt8'><dt id='aWvt8'><q id='aWvt8'><span id='aWvt8'><b id='aWvt8'><form id='aWvt8'><ins id='aWvt8'></ins><ul id='aWvt8'></ul><sub id='aWvt8'></sub></form><legend id='aWvt8'></legend><bdo id='aWvt8'><pre id='aWvt8'><center id='aWvt8'></center></pre></bdo></b><th id='aWvt8'></th></span></q></dt></tr></i><div id='aWvt8'><tfoot id='aWvt8'></tfoot><dl id='aWvt8'><fieldset id='aWvt8'></fieldset></dl></div>

                        <small id='aWvt8'></small><noframes id='aWvt8'>