AthennaMind / opnsense-exporter

OPNsense Exporter for Prometheus
Apache License 2.0
92 stars 10 forks source link

fix: allow opnsense http client to handle gzip responses #2

Closed harnash closed 9 months ago

harnash commented 10 months ago

It seems that this client doesn't properly handle gzip'ed responses and try to unmarshal raw gzip data as JSON. Quickly tested on my OPNSesense instance and it seems to work.