Disabling Message Chunking

When processing large messages, message chunking facilitates sending the message as multiple independent chunks. Message chunking is set using the Transfer-Encoding: chunked header. However, some legacy backends might not support chunked messages. To disable sending chunked messages to the backend for a specific API, follow the steps below:

  1. Go to the created API and from the Left Menu, go to API ConfigurationsRuntime.
  2. Click Edit button in the Message Mediation under the Request section.

    Select Mediation policy

  3. In the Select a Mediation Policy popup you can select Common Policies radio button and then select disable-chunking radio button.

    Disable Chunking

  4. Press select button and then save the API.

Once the API is published, chunking is disabled for the message that is sent to the backend.


To stop chunked messages from being sent to the client, you can apply the same mediation policy in the response section as well.