def parse_value(value, allow_spaces=True, unquote=default_unquote):
 if (value is None):
  return None
 value = strip_spaces_and_quotes(value)
 value = parse_string(value, unquote=unquote)
 if (not allow_spaces):
  assert (' ' not in value)
 return value

def parse_value ( value , allow_spaces = True , unquote = default_unquote ) : if ( value is None ) : return None value = strip_spaces_and_quotes ( value ) value = parse_string ( value , unquote = unquote ) if ( not allow_spaces ) : assert ( ' ' not in value ) return value
process a cookie value .