Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Haproxy Scan Response Body

$
0
0

@ared wrote:

Hi ,
I am trying to scan the response body which we get from the server and match with a regex before forwarding it to the client.
Is there any way we could grab the response body with res.payload().?
Im having a hard time forming an acl to match the response body with a regex.

Idea is to match the response body with regex ,if match occurs then need to set response status code and send an error message.

Any ideas and thoughts on this ?
Thank you.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>