def get_summary_from_response(response):
    """Return a string of info from a response object"""
    message_parts = [
        str(response.status_code),
        response.request.method,
        response.request.url,
        'in {} seconds'.format(response.elapsed.total_seconds()),
    ]
    return ' '.join(message_parts)