[In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]
Synopsis: DefaultType and AddType accept handlers, but documentation does not permit this. State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Sun Oct 18 11:59:33 PDT 1998 State-Changed-Why: It isn't really a feature or a bug, just a side effect of how things are implemented. The behaviour can sometimes be different than if it were a MIME type because both a type and a handler can sortof apply in some cases. There is no reason to use AddType this way, since there is an AddHandler. There isn't anything entirely equivilent to DefaultType (SetHandler is except that it forces all files to be set that way; if you use it in a Files section you can get specific cases, eg. files without an extension) There are a fair number of configurations that do rely on this relationship between them, but it isn't something we really want to encourage so it isn't and shouldn't be documented. Use at your own risk, bearing in mind that we normally want to avoid breaking things that a large number of people use even if they aren't documented.
