-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make mime type detection more linear
Reorder mime type detection logic to avoid redoing work whose result won't be used. Makes it clear that we detect only once and then use the attribute's value. The logic of merging in newly detected types hinted at by a comment has long been gone. Remove that comment.
- Loading branch information
1 parent
7963921
commit 69decd9
Showing
1 changed file
with
29 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters