When `response` is a redirect, content length is in `response[]`. But when it is a final response it can be in `response.headers` and I detected a case where calling the former in a final response may raise an exception.