Raise exception when response is invalid

Utilize python-requests standard mechanism Response.raise_for_status()