I have to monitor a picky webapp. It's a java app, reachable via HTTP. It expects a POST with Content-Type with one of the following:

      • 'application/soap+xml'
      • 'text/xml'
      • 'multipart/related'

      Zabbix queries the webapp with a POST, which content type is set to 'application/x-www-form-urlencoded' (the default from libcurl), and the app responds with an error because of the content-type header.

      Is there a possibility to add custom headers to httpstep or httptest? libcurl is very flexible in that matter (http://curl.haxx.se/libcurl/c/curl_e...LOPTHTTPHEADER). It could be a simple field where one could insert his own headers, ie:

      • tell the app what is the content-type of the POST
      • pass a custom Host/Accept string
      • pass a custom X-* header to tell the app to make some assumptions
      • etc

      Specification: https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-282

            Unassigned Unassigned
            hannibal20 PaweĊ‚ Sasin
            Votes:
            59 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:
              Resolved: