Can we have JSON Threat Protection policy in respose when streaming is enabled

We have JSON Threat Protection policy for the response body, also enabled streaming for the response content.
Getting EOF and IO exceptions when we are using the above combination.

Please suggest if we can enable streaming and use JSON Threat protection policy on single response.

Solved Solved
0 2 312
1 ACCEPTED SOLUTION

Hi - I think not.
Disable streaming to use the JSONThreatProtection policy.

Also, it's odd that you want to apply the policy on a RESPONSE. Normally the backend (upstream) is not the system that brings concerns about JSON Threats. Are you sure you need that?

View solution in original post

2 REPLIES 2

Hi - I think not.
Disable streaming to use the JSONThreatProtection policy.

Also, it's odd that you want to apply the policy on a RESPONSE. Normally the backend (upstream) is not the system that brings concerns about JSON Threats. Are you sure you need that?

Hello,

We had a requirement to check the response payload, but we would remove threat protection policy from the response.

Thanks Much for you quick reply.