Please sign in to comment.
split content-type and get real mime type
Nowadays there could be content-types like “text/xml; charset=utf-8 which doesn’t match to ”text/xml” at all. This splits from ; and takes first element and does the comparison using that instead.
- Loading branch information...