def parse_list_header(value):
 result = []
 for item in _parse_list_header(value):
  if (item[:1] == item[(-1):] == '"'):
   item = unquote_header_value(item[1:(-1)])
  result.append(item)
 return result

def parse_list_header ( value ) : result = [ ] for item in _parse_list_header ( value ) : if ( item [ : 1 ] == item [ ( - 1 ) : ] == '"' ) : item = unquote_header_value ( item [ 1 : ( - 1 ) ] ) result . append ( item ) return result
parse lists as described by rfc 2068 section 2 .