samuelneff/MimeTypeMap

Enhancement | Have static content type class

aroemen opened this issue · 2 comments

It would be nice to have the string values (IE...application/json) of the content type setup in a static class. This would be handy to have for validating without having magic strings throughout the code.

Good point. I'll make the change next time I'm working on the project.

@aroemen would my project fit the bill for what you're requesting? It is based on this project and is a static mapping.