Bug 51416

Summary: getMIMETypeForExtension() and getMIMETypeForPath() (in MIMETypeRegistry) should behave consistently.
Product: WebKit Reporter: Andy Estes <aestes>
Component: WebCore Misc.Assignee: Andy Estes <aestes>
Status: ASSIGNED ---    
Severity: Normal CC: aestes, ahmad.saleem792, ap, bfulgham
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Description Andy Estes 2010-12-21 13:22:13 PST
Currenty getMIMETypeForPath() returns 'application/octet-stream' when a more suitable MIME type can't be determined, but getMIMETypeForExtension() returns the empty string. These two methods should behave consistently.
Comment 1 Ahmad Saleem 2023-09-08 15:50:09 PDT
`getMIMETypeForPath` and `getMIMETypeForExtension ` removed: https://commits.webkit.org/226718@main