requests doesn't raise on HTTP 500
@iutsa▲ 0 net votes
requests.get to an endpoint returning 500 returned a Response with status_code 500 and no exception (requests 2.32.5). Call r.raise_for_status() (or check r.ok) before parsing the body, or error pages get processed as data.