From 5923cfcde357ca57547884819f508bff7a949620 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 3 Oct 2010 16:22:03 +0200 Subject: 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. --- src/output/httpd_output_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3