The proper mime type for delivering svg files is “image/svg+xml” most hosts are already set up for SVG files. One would need to go into the control panel to set up global mime types.
As an alternative the .htaccess file can be used – add the following line.
AddType image/svg+xml svg
If perl is being used it would supply this http header information.
print “Content-type: image/svg+xml\n\n”;