def parse_multi_value_header(header_str):
parsed_parts = []<EOL>if header_str:<EOL><INDENT>parts = header_str.split('<STR_LIT:U+002C>')<EOL>for part in parts:<EOL><INDENT>match = re.search('<STR_LIT>', part)<EOL>if match is not None:<EOL><INDENT>parsed_parts.append(match.group(<NUM_LIT:2>))<EOL><DEDENT><DEDENT><DEDENT>return parsed_parts<EOL>
Break apart an HTTP header string that is potentially a quoted, comma separated list as used in entity headers in RFC2616.