updated this with your review comments. I have removed the verify and en-US accept header. I decided not to set allow_redirects to False so we can check the final url returned.