mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-16 08:27:10 +03:00
Adding comment to SecResponseBodyMimeType regarding JSON body inspection on response (#1749 - @1Jesper1)
@@ -1351,6 +1351,8 @@ By default, ModSecurity will reject a response body that is longer than specifie
|
||||
|
||||
Multiple SecResponseBodyMimeType directives can be used to add MIME types. Use SecResponseBodyMimeTypesClear to clear previously configured MIME types and start over.
|
||||
|
||||
; Note : Users that wish to perform JSON body inspection on response (phase 4) need to add _application/json_ to SecResponseBodyMimeType.
|
||||
|
||||
== SecResponseBodyMimeTypesClear ==
|
||||
'''Description:''' Clears the list of MIME types considered for response body buffering, allowing you to start populating the list from scratch.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user