Previously, compression for the HTTP payload was controlled by the
configuration file and did not respect client accept headers. This
meant that when using curl to read the metrics endpoint, you'd have
to know if compression was enabled or not for the running Rezolus
instance.
Solution
Switch from warp to axum so we can easily allow the client to
negotiate whether compression should be used.
Note, we also drop the hardware_info endpoint in this PR.
Result
Simpler configuration of Rezolus and better experience when manually
interfacing with the metrics endpoints.
Problem
Previously, compression for the HTTP payload was controlled by the configuration file and did not respect client accept headers. This meant that when using curl to read the metrics endpoint, you'd have to know if compression was enabled or not for the running Rezolus instance.
Solution
Switch from
warp
toaxum
so we can easily allow the client to negotiate whether compression should be used.Note, we also drop the hardware_info endpoint in this PR.
Result
Simpler configuration of Rezolus and better experience when manually interfacing with the metrics endpoints.