1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-08 04:22:21 +03:00

Disabled DefaultType directive and removed ap_default_type()

from core.  We now exclude Content-Type from responses for which
a media type has not been configured via mime.types, AddType,
ForceType, or some other mechanism.  MMN major bump to NZ time.

PR: 13986



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@739382 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Roy T. Fielding
2009-01-30 19:12:51 +00:00
parent 8ba50dd3f1
commit 421ee8b008
14 changed files with 44 additions and 85 deletions

View File

@@ -219,24 +219,6 @@ extern "C" {
#define AP_DEFAULT_INDEX "index.html"
#endif
/**
* Define this to be what type you'd like returned for files with unknown
* suffixes.
* @warning MUST be all lower case.
*/
#ifndef DEFAULT_CONTENT_TYPE
#define DEFAULT_CONTENT_TYPE "text/plain"
#endif
/**
* NO_CONTENT_TYPE is an alternative DefaultType value that suppresses
* setting any default type when there's no information (e.g. a proxy).
*/
#ifndef NO_CONTENT_TYPE
#define NO_CONTENT_TYPE "none"
#endif
/** The name of the MIME types file */
#ifndef AP_TYPES_CONFIG_FILE
#define AP_TYPES_CONFIG_FILE "conf/mime.types"