mxschmitt / fritzbox_exporter

Prometheus Exporter for FRITZ!Box (TR64 and UPnP)
https://mxschmitt.github.io/fritzbox_exporter
Apache License 2.0
58 stars 17 forks source link

update 123Haynes/go-http-digest-auth-client to current master #31

Closed jakobwenzel closed 3 years ago

jakobwenzel commented 3 years ago

The changes in d87c1a164b0a0ebf22e6a54be5a48a04aa1820e3 seem to have inadvertently downgraded 123Haynes/go-http-digest-auth-client to 0.3.0, missing a critical commit that is only on the current git master: Support for passing HTTP headers.

This leads to the Headers Content-Type and SoapAction being lost. They are needed for the Fritzbox to correctly answer the request. It responds with a generic 404 error page, which happens to be invalid XML. This causes #26

mxschmitt commented 3 years ago

this is awesome, thanks for digging into that, really appreciate your effort!