When the content type of response from the backend service is application/abc, the following context variables are null:
${response.mainpart}
${response.parts.1.body}
This is because the content type application/abc is not recognized by the gateway by default, therefore, the gateway cannot parse the response.
All supported versions of the API Gateway
From the Policy Manager, go to Tasks -> Global Settings -> Manage Cluster-Wide Properties -> Add or Edit cluster-wide property contentType.otherTextualTypes -> input the value as application/abc