response_tupels = [('content-length', '2501479'), ('accept-ranges', 'bytes')]
response = dict(response_tupels)
try:
    content_length = int(response['content-length'])
except KeyError:
    raise
Extracting Information from a Tuple (Python)