def _extract_etag(response):
if response and response.headers:<EOL><INDENT>for name, value in response.headers:<EOL><INDENT>if name.lower() == '<STR_LIT>':<EOL><INDENT>return value<EOL><DEDENT><DEDENT><DEDENT>return None<EOL>
Extracts the etag from the response headers.