aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/httpd_output_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-10-03 16:22:03 +0200
committerMax Kellermann <max@duempel.org>2010-10-03 16:22:03 +0200
commit5923cfcde357ca57547884819f508bff7a949620 (patch)
treecc50c33df708a535284425f071d3c0c85a2484d0 /src/output/httpd_output_plugin.c
parente3f4c7b91cb25cc7d233b64de0e55ef2ab0d179b (diff)
downloadmpd-5923cfcde357ca57547884819f508bff7a949620.tar.gz
mpd-5923cfcde357ca57547884819f508bff7a949620.tar.xz
mpd-5923cfcde357ca57547884819f508bff7a949620.zip
output/httpd: MIME type audio/ogg for Ogg Vorbis
RFC 5334 10.3 defines the MIME type "audio/ogg". We could use "application/ogg" as well, but we know for sure that we only emit audio data.
Diffstat (limited to '')
-rw-r--r--src/output/httpd_output_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/httpd_output_plugin.c b/src/output/httpd_output_plugin.c
index 9fdf46456..026e8d9d8 100644
--- a/src/output/httpd_output_plugin.c
+++ b/src/output/httpd_output_plugin.c
@@ -70,7 +70,7 @@ httpd_output_init(G_GNUC_UNUSED const struct audio_format *audio_format,
}
if (strcmp(encoder_name, "vorbis") == 0)
- httpd->content_type = "application/x-ogg";
+ httpd->content_type = "audio/ogg";
else if (strcmp(encoder_name, "lame") == 0)
httpd->content_type = "audio/mpeg";
else