Refactor response.content_length property