Re: Match response status code with regular expression

2019-06-26 Thread Jarno Huuskonen
Hi, On Tue, Jun 25, Ricardo Fraile wrote: > I'm trying to set an acl for multiple status codes. As example, using > only for one works: > > http-response set-header Cache-Control max-age=60 if { status 302 } > > but with more than one, trying with a regex, fails because it is not >

Match response status code with regular expression

2019-06-25 Thread Ricardo Fraile
Hello, I'm trying to set an acl for multiple status codes. As example, using only for one works: http-response set-header Cache-Control max-age=60 if { status 302 } but with more than one, trying with a regex, fails because it is not implemented in httpr-response: http-response set-header