I'm looking for advices : I would like to fix this (it totally blocks me).
I see in client.py that, if the status code is OK, it return the response, otherwise it raise an exception.
Because HTTP 300 indicate multiple possible url, I think we must get those urls, find the current one and do an new request to this url. Am I correct ?
Should I do some kind of recursive call (called _do_request() with the new url) or put the request code in the if block ?
Hi,
I'm looking for advices : I would like to fix this (it totally blocks me).
I see in client.py that, if the status code is OK, it return the response, otherwise it raise an exception.
Because HTTP 300 indicate multiple possible url, I think we must get those urls, find the current one and do an new request to this url. Am I correct ?
Should I do some kind of recursive call (called _do_request() with the new url) or put the request code in the if block ?
Thanks
--- Nicolas