def parse_etag_response(value):
 if (value and (not value.startswith('W/'))):
  unquote_match = QUOTES_RE.match(value)
  if (unquote_match is not None):
   value = unquote_match.group(1)
   value = value.replace('\\"', '"')
  return value

def parse_etag_response ( value ) : if ( value and ( not value . startswith ( 'W/' ) ) ) : unquote_match = QUOTES_RE . match ( value ) if ( unquote_match is not None ) : value = unquote_match . group ( 1 ) value = value . replace ( '\\"' , '"' ) return value
parse a response etag .