__all__ = ['robot_urllib_py3']
+import http.client
import socket
import sys
import urllib.request
except RedirectException as e:
return None, e.errcode, e.newurl, None, None
- except OSError as e:
+ except (OSError, http.client.IncompleteRead) as e:
error = str(e)
self.log(' Error: %s' % error)
return error, None, None, None, None