Adds `get_response_code` because I accidentally removed it