[webkit-reviews] review requested: [Bug 100927] Improve ContentTypeParser, so that it could be used to validate mime type according to RFC : [Attachment 171796] Patch 1
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 1 01:43:00 PDT 2012
Alexander Shalamov <alexander.shalamov at gmail.com> has asked for review:
Bug 100927: Improve ContentTypeParser, so that it could be used to validate
mime type according to RFC
https://bugs.webkit.org/show_bug.cgi?id=100927
Attachment 171796: Patch 1
https://bugs.webkit.org/attachment.cgi?id=171796&action=review
------- Additional Comments from Alexander Shalamov
<alexander.shalamov at gmail.com>
- Added ContentTypeValidator. Content type string could be validated using
ContentTypeValidator<>(contentTypeString).isValid()
- Removed StringBuilder usage that was inefficient.
- Removed "Content-Type" prefix that is not required to validate and parse mime
type value.
More information about the webkit-reviews
mailing list