Limit requests based on content-length

Is there a way to put a limit on the size of requests being submitted through a certain policy? The limit would be based on the content-length header.

0 1 802
1 REPLY 1

@Akash Prabhashankar ,

Yes, It should be straightforward. Use a raise fault policy with policy condition (request.header.content-lenght < X )

Hope it helps.