def METHOD_NAME(reqresp):
    """Try to guess the body type of the message from a response object."""
    # try to handle chunked responses.
    if "chunked" not in reqresp.headers.get("transfer-encoding", ""):
        if int(reqresp.headers["content-length"]) == 0:
            return None
    _ctype = reqresp.headers["content-type"]
    if match_to_("application/json", _ctype):
        body_type = "json"
    elif match_to_("application/jwt", _ctype):
        body_type = "jwt"
    elif match_to_("application/jwe", _ctype):
        body_type = "jwe"
    elif match_to_(URL_ENCODED, _ctype):
        body_type = "urlencoded"
    else:
        body_type = None
    return body_type