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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user