How to collect the HTTP Headers from the response with Telegraf?

Hi,

I’m using the plugin http_response to collect data from an http endpoint, it works as expected however I also need to collect some custom HTTP headers from the response. As far as I understand the documentation (https://github.com/influxdata/telegraf/tree/release-1.14/plugins/inputs/http_response), it seems that it is only possible to provide specific HTTP headers to build the request but it is not possible to collect the HTTP headers from the response. Is it possible to collect the HTTP Headers from the response? If not does it make sense for you to add it as a feature request?

Thanks in advance,
BR,
Nicolas

I created a ticket for that https://github.com/influxdata/telegraf/issues/7403