<div dir="ltr"><br>On Tue, Nov 25, 2014 at 7:56 AM, Peter Cock <<a href="mailto:p.j.a.cock@googlemail.com">p.j.a.cock@googlemail.com</a>> wrote:<br>><br>> Would anyone like to contribute an example script using Bio.Entrez<br>> with try/except handling of intermittent network errors like:<br>><br>> - HTTP Error 500: Internal Server Error<br>> - HTTP Error 502: Bad Gateway<br><br><br>Are there other errors that would benefit<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;display:inline"></div> from the pause<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;display:inline">/</div>retry?<br>Like...<br>408: ('Request Timeout', 'Request timed out; try again later.')<br>503: ('Service Unavailable', 'The server cannot process the request due to a high load')<br>504: ('Gateway Timeout', 'The gateway server did not receive a timely response')<div><br><div class="gmail_extra"><div><div class="gmail_signature"><div>Vincent Davis</div><br></div></div>
</div></div></div>