KhronosGroup/glTF — pull request #74 by emackey (2013-04-24 21:43:41+00:00)
Title: Make MIME mappings robust by removing inherited entries.

If MIME types are configured at the global level, or any parent level, the server will produce an error unless those inherited types are removed prior to re-assignment. It does not produce an error to have a remove statement without the inherited type.

The server error looks something like this:

```
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data
for the page is invalid.

Cannot add duplicate collection entry of type 'mimeMap' with unique key
attribute 'fileExtension' set to '.json'
```

The attached edit fixes it for all cases.