Add xls and xlsx mime types to mime_util
The mime types for xls and xlsx are listed on MDN[1] and on iana.org[2]. [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types [2] https://www.iana.org/assignments/media-types/media-types.xhtml Although the OS mime type <-> file extension mapping usually gets xls/xlsx for us, it appears that in some cases and on some users machines it doesn't happen. The reporter of this bug had it happen on their mac, and the windows cq+1 trybot fails the test without the patch. Bug: 1132791 Change-Id: I4fc35bc3387d98b5967d0a476788b32bf6e2c6f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462664Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#816688}
Showing
File added
File added
Please register or sign in to comment