def METHOD_NAME(resp):
    try:
        resp_json = json.loads(resp.text)
    except BaseException:
        resp_json = resp.text
    return {
        "status_code": resp.status_code,
        "headers": resp.headers,
        "content": resp_json,
    }