Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/httpd bozohttpd: add .m4a and .m4v file extensions.



details:   https://anonhg.NetBSD.org/src/rev/75f74ac13a04
branches:  trunk
changeset: 943859:75f74ac13a04
user:      rhialto <rhialto%NetBSD.org@localhost>
date:      Sat Sep 12 12:39:28 2020 +0000

description:
bozohttpd: add .m4a and .m4v file extensions.

diffstat:

 libexec/httpd/CHANGES        |  5 ++++-
 libexec/httpd/content-bozo.c |  4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 0d599c4b8e0f -r 75f74ac13a04 libexec/httpd/CHANGES
--- a/libexec/httpd/CHANGES     Sat Sep 12 12:24:21 2020 +0000
+++ b/libexec/httpd/CHANGES     Sat Sep 12 12:39:28 2020 +0000
@@ -1,4 +1,7 @@
-$NetBSD: CHANGES,v 1.41 2020/08/20 07:55:10 mrg Exp $
+$NetBSD: CHANGES,v 1.42 2020/09/12 12:39:28 rhialto Exp $
+
+changes in bozohttpd 20200912:
+       o  add .m4a and .m4v file extensions.
 
 changes in bozohttpd 20200820:
        o  make this work on sun2 by reducing mmap window there.
diff -r 0d599c4b8e0f -r 75f74ac13a04 libexec/httpd/content-bozo.c
--- a/libexec/httpd/content-bozo.c      Sat Sep 12 12:24:21 2020 +0000
+++ b/libexec/httpd/content-bozo.c      Sat Sep 12 12:39:28 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: content-bozo.c,v 1.16 2018/11/23 08:11:20 mrg Exp $    */
+/*     $NetBSD: content-bozo.c,v 1.17 2020/09/12 12:39:28 rhialto Exp $        */
 
 /*     $eterna: content-bozo.c,v 1.17 2011/11/18 09:21:15 mrg Exp $    */
 
@@ -135,6 +135,7 @@
        { ".snd",       "audio/basic",                  "",             "", NULL },
        { ".mpga",      "audio/mpeg",                   "",             "", NULL },
        { ".mp2",       "audio/mpeg",                   "",             "", NULL },
+       { ".m4a",       "audio/mpeg",                   "",             "", NULL },
        { ".aif",       "audio/x-aiff",                 "",             "", NULL },
        { ".aiff",      "audio/x-aiff",                 "",             "", NULL },
        { ".aifc",      "audio/x-aiff",                 "",             "", NULL },
@@ -167,6 +168,7 @@
        { ".ts",        "video/mpeg",                   "",             "", NULL },
        { ".vob",       "video/mpeg",                   "",             "", NULL },
        { ".mp4",       "video/mp4",                    "",             "", NULL },
+       { ".m4v",       "video/mp4",                    "",             "", NULL },
        { ".qt",        "video/quicktime",              "",             "", NULL },
        { ".mov",       "video/quicktime",              "",             "", NULL },
        { ".avi",       "video/x-msvideo",              "",             "", NULL },



Home | Main Index | Thread Index | Old Index