Xymon Mailing List Archive search

Multiple http headers

list Patrick Nixon
Tue, 8 Nov 2016 13:01:35 -0500
Message-Id: <user-1ed5c1cdafe8@xymon.invalid>

Hey all,
 I'm attempted to pass two headers along with the http request.   I found
httphdr which appears to be what I want to use.

This is the hosts entry as it stands now.
(two lines
0.0.0.0 apiserver # noconn auto https://apiserver/api/status
httphdr="X-app-key: 00000000000
X-app-id: 1111111"

I also tried
0.0.0.0 apiserver # noconn auto https://apiserver/api/status
httphdr="X-app-key: 00000000000, X-app-id: 1111111"

When I run this from the command line it works as expected
curl -H "X-app-id: 1111111" -H "X-app-key: 0000000000"
https://apiserver/api/status

Suggestions on what to tweak to make this funcitonal?