mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 01:22:18 +03:00
Adds support to the RESPONSE_PROTOCOL variable
This commit is contained in:
@@ -291,7 +291,7 @@ void perform_unit_test(ModSecurityTest<RegressionTest> *test,
|
||||
headers.second.c_str());
|
||||
}
|
||||
|
||||
modsec_transaction->processResponseHeaders(r.status, "HTTP 1.1");
|
||||
modsec_transaction->processResponseHeaders(r.status, t->response_protocol);
|
||||
actions(&r, modsec_transaction);
|
||||
#if 0
|
||||
if (r.status != 200) {
|
||||
|
||||
Reference in New Issue
Block a user