Closed xloem closed 4 years ago
Hey @xloem, thanks for the contribution! Looks good, just a few things:
timeout
be another optional argument. It makes it impossible to pass in a timeout without also passing in opts
. Have you considered just making the timeout
a field in opts
?Thanks!
Thanks so much for the speedy response. I'll try to keep the things you mention in mind but won't be updating the PR for now due to other things going on. I'll make a new one or reopen this if I get back to this.
Do you have time to review #20 which also mentions timeout?
atm python-requests can hang indefinitely sometimes, without a timeout. The parameter should be passed internally even if there is no interface to change it yet.
These are my local changes to support timeout.
20 adds more changes on top of this and would need a trivial rebase if this is merged.