From 7085fd9ed87d0b1e76cce50d0d9887a36d12a4a1e79537f736684ab419e698ea Mon Sep 17 00:00:00 2001 From: Peter Poeml Date: Mon, 17 May 2010 14:34:56 +0000 Subject: [PATCH] - add type and encoding for zipped SVG images (.svgz) Thanks to Sebastian Siebert (via Submit Request #40059) OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=316 --- apache2-mod_mime-defaults.conf | 5 +++++ apache2.changes | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/apache2-mod_mime-defaults.conf b/apache2-mod_mime-defaults.conf index 4cfb4fe..46ac63a 100644 --- a/apache2-mod_mime-defaults.conf +++ b/apache2-mod_mime-defaults.conf @@ -128,6 +128,11 @@ AddType application/x-gzip .gz .tgz # are so commonly used that we add them here. Addtype image/x-icon .ico +# Zipped SVG files (.svgz) are not registered by IANA yet, and we should hint +# clients about their encoding +AddType image/svg+xml .svg .svgz +AddEncoding gzip .svgz + # # For type maps (negotiated resources): # (This is enabled by default to allow the Apache "It Worked" page diff --git a/apache2.changes b/apache2.changes index 7f06909..0f373cf 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 17 14:33:47 UTC 2010 - poeml@cmdline.net + +- add type and encoding for zipped SVG images (.svgz) + Thanks to Sebastian Siebert (via Submit Request #40059) + ------------------------------------------------------------------- Tue May 11 21:42:11 UTC 2010 - lars@linux-schulserver.de