Text.XML.HXT.Parser.ProtocolHandlerUtil
parseContentType :: Parser [(String, String)] Source #
Try to extract charset spec from Content-Type header e.g. "text/html; charset=ISO-8859-1"
Sometimes the server deliver the charset spec in quotes these are removed