Can I check response after receiving answer and run another request? This is necessary to check if the user is blocked. If the user is not blocked, give his result from another enpoint.
Something like:
Send POST request /method1
when HTTP_REQUEST {
if { [HTTP::uri] == "/method1" }
{
pool checkblock
}
}
when HTTP_RESPONSE { if { [HTTP::status] != 401} {
REWRITE /method1 ????