Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow redirects when making API requests #23

Open
daronco opened this issue Aug 16, 2016 · 1 comment
Open

Follow redirects when making API requests #23

daronco opened this issue Aug 16, 2016 · 1 comment

Comments

@daronco
Copy link
Member

daronco commented Aug 16, 2016

All requests made by the gem will fail if the server responds with a redirect. It will try to parse the body of the response assuming it is the XML received as the response to the API call.
If the response is a redirect, it should follow the redirects (maybe with a limit of a few hoops) until it actually gets a proper response from the server.

This is specially useful when the web conference server responds to both HTTP and HTTPS, redirecting requests from HTTP to HTTPS.

@hmt
Copy link

hmt commented Apr 24, 2021

is there a quick fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants