From 163a3a0715e50bae71ff1b1c00c13b465917e915 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 2 Sep 2011 13:28:29 +0000 Subject: [PATCH] [package] uhttpd: add "application/x-ns-proxy-autoconfig" mime type (#8236) SVN-Revision: 28149 --- package/uhttpd/Makefile | 2 +- package/uhttpd/src/uhttpd-mimetypes.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package/uhttpd/Makefile b/package/uhttpd/Makefile index 17823ad16a..93ac8cf03e 100644 --- a/package/uhttpd/Makefile +++ b/package/uhttpd/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uhttpd -PKG_RELEASE:=24 +PKG_RELEASE:=25 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_CONFIG_DEPENDS := \ diff --git a/package/uhttpd/src/uhttpd-mimetypes.h b/package/uhttpd/src/uhttpd-mimetypes.h index 032d3d0c25..21717c0003 100644 --- a/package/uhttpd/src/uhttpd-mimetypes.h +++ b/package/uhttpd/src/uhttpd-mimetypes.h @@ -76,6 +76,9 @@ static struct mimetype uh_mime_types[] = { { "cfg", "text/plain" }, { "conf", "text/plain" }, + { "pac", "application/x-ns-proxy-autoconfig" }, + { "wpad.dat", "application/x-ns-proxy-autoconfig" }, + { NULL, NULL } }; -- 2.30.2