httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Stone <Antony.St...@apache.open.source.it>
Subject Re: [users@httpd] Health check expressions
Date Thu, 13 Feb 2020 12:50:17 GMT
On Thursday 13 February 2020 at 13:38:40, Eric Covener wrote:

> On Thu, Feb 13, 2020 at 7:30 AM Antony Stone wrote:
> > On Thursday 13 February 2020 at 13:16:19, Eric Covener wrote:
> > > On Wed, Feb 5, 2020 at 6:45 AM Antony Stone wrote:
> > > > 
> > > > Any idea how to check the content-type of the returned response?
> > > 
> > > Have you tried reading the value of the Content-Type response header
> > > instead of this built-in var?
> > 
> > No - how would I do that?
> > 
> > What should I use for ProxyHCExpr to achieve this?
> 
> Sorry I can't easily test it.  you'd use the resp() function w/ that
> header as the parameter.

I'm still not quite sure what you mean, since
https://httpd.apache.org/docs/2.4/mod/mod_proxy_hcheck.html says nothing about 
a resp() function, but I'll see whether 
https://httpd.apache.org/docs/2.4/expr.html is enough to go on.


Regards,


Antony.

-- 
Users don't know what they want until they see what they get.

                                                   Please reply to the list;
                                                         please *don't* CC me.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message