Whe configuring an http host check, it seems the
Accept header cannot be overridden by the
http headers directive. For example:
check host example.com with address example.com if failed port 80 protocol http with http headers [Accept: application/json] and request /ping then alert
Will send requests with an
Accept: */*header. This causes warnings in our server because the /ping resource can produce either
I think it would make sense to let the control file specify this header.