DescriptionAdding a rewriter that removes charset information from meta http-equiv content type tag in html. An html document can specify its charset encoding in the html itself which is used by the browsers in case of ambiguity, like when Content-Type http response header does not specify encoding.
This rewriter removes the charset parameter so the browser cannot get confused. This would be useful as we make sure that we return the page with correct encoding (almost always the page will be parsed and serialized in UTF-8 encoding).
Links with more information about
Content type header: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
Media types: http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7
Patch Set 1 #
Total comments: 6
Patch Set 2 : addressing_vikas_comments_by_adding_unit_test #Patch Set 3 : svn_up #Patch Set 4 : 'svn_up_and_fixing_one_comment' #Patch Set 5 : 'svn_up_and_fixing_one_comment' #Patch Set 6 : 'svn_up' #
Total comments: 2
Patch Set 7 : 'adding_more_test_cases' #
Total comments: 2
Patch Set 8 : 'addressing_zivs_comments' #Patch Set 9 : 'syncing_to_head' #
MessagesTotal messages: 17
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||