IBM Support

How do I prevent a DataPower processing rule from injecting a Content-Type response header to the originating client when the backend service does not provide this header?

Troubleshooting


Problem

When a back-end server does not provide a Content-Type response header, a DataPower processing rule injects a Content-Type header by default. To change this behavior, you can specify a Transformation action (or a GatewayScript action in firmware version 7.0.0 or later) that removes the header after the final Results action.

Symptom

A Content-Type response header is returned to the client application when the back-end server does not provide this header in its response.

[{"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"4.0.2;5.0.0;6.0.0;6.0.1;7.0.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
15 June 2018

UID

swg21672961