How can I insert compressed svg i.e. svgz in the HTML editor?

How can I insert a compressed svg image in the HTML editor and have it rendered properly ?
With some google search I could find out that browsers need correct HTTP headers from the server.

Here is a sample of the image I am trying to render:

I am using the following code to make it render :
<object data="/files/VF-MO-EXP-STP-SCUTE.svgz" style="width: 826px;" type="image/svg+xml"> </object>

This is throwing up a XML parsing error.

So there is no way of doing it from the client side. The server which in this case is ngnix has to be configured to deliver svgz properly, refer to this page : Enable compressed svg for nginx