Python Forum
problem handling redirection
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem handling redirection
#3
I had a thought occur to me and tried it, which appears to solve the problem. I had found earlier iHeart does not support "HEAD", so I was conditionally doing a "GET" if that failed. I was doing the same with the redirection, but getting yet another redirection. I speculated that perhaps the redirection was a one-shot and that issuing a "HEAD" first used up that only chance, resulting in yet another redirection. Making the redirection use "GET" instead of "HEAD" appears to have resolved the issue.

Hopefully this case is of some use to others experiencing a similar issue.

Dave
Reply


Messages In This Thread
problem handling redirection - by dhdurgee - Apr-25-2022, 05:49 PM
RE: problem handling redirection - by dhdurgee - Apr-27-2022, 02:42 AM
RE: problem handling redirection - by dhdurgee - Apr-27-2022, 03:23 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020