Commit ff89897
committed
feat: add coraza_is_response_body_processable() API
Expose IsResponseBodyProcessable() through the C API so connectors
can skip response body processing when SecResponseBodyAccess is Off
or the Content-Type doesn't match SecResponseBodyMimeType.
Returns 1 if the body should be processed, 0 otherwise.
Must be called after coraza_process_response_headers().1 parent 627e13a commit ff89897
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
342 | 351 | | |
343 | 352 | | |
344 | 353 | | |
| |||
0 commit comments