Browse Source

uhttpd: add "application/x-ns-proxy-autoconfig" mime type (#8236)

SVN-Revision: 28149
Jo-Philipp Wich 14 years ago
parent
commit
7fce085a97
2 changed files with 4 additions and 1 deletions
  1. 1 1
      package/uhttpd/Makefile
  2. 3 0
      package/uhttpd/src/uhttpd-mimetypes.h

+ 1 - 1
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 := \

+ 3 - 0
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 }
 };