Fix the issue that the status of the button for the EC Volume is gray and inaccessible.
Modifications
Due to the gzip compression of the response result from Consul requesting data, which was not decompressed during HTTP parsing, JSON parsing failed and EC Volume information could not be displayed
Fixes: https://github.com/cubefs/cubefs-dashboard/issues/20
Motivation
Fix the issue that the status of the button for the EC Volume is gray and inaccessible.
Modifications
Due to the gzip compression of the response result from Consul requesting data, which was not decompressed during HTTP parsing, JSON parsing failed and EC Volume information could not be displayed
Added gzip parsing