mime: add ExtensionByType method
Added the inverse of TypeByExtension for discovering an appropriate extensions for a given MIME type. Fixes #10144 Change-Id: I6a80e1af3db5d45ad6a4c7ff4ccfdf6a4f424367 Reviewed-on: https://go-review.googlesource.com/7444 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Showing
Please register or sign in to comment