Bug 57313 - The DefaultType directive has been removed
Summary: The DefaultType directive has been removed
Status: REOPENED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal with 3 votes (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-05 13:25 UTC by Jon Ribbens
Modified: 2017-03-02 11:18 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Ribbens 2014-12-05 13:25:26 UTC
The DefaultType directive has been removed. This means that you can no longer set the default MIME type. The DefaultType directive should be added back again. The ForceType directive is not a substitute as it does not set the default MIME type, it sets an override MIME type.
Comment 1 Eric Covener 2016-05-16 14:38:36 UTC
See the discussion at PR#13986
Comment 2 Jon Ribbens 2016-05-16 15:00:13 UTC
OK I read through that 7-year comment thread; it has absolutely nothing to do with this PR except that it also mentions DefaultType. No one in that PR was asking for DefaultType to be removed, merely for it to be optional. Removing it completely is bizarre and removes important functionality, i.e. being able to explicitly set a default MIME type when you know that it is correct.